(atof "27.1600748145263")
to be
(setq value 27.1600748145263 )
(setq pt1$ '("291235.933" "288772.8917" "27.49299344"))
(setq pt1# '(291235.933 288772.8917 27.49299344))
(command "_point" pt1# "")
Hi @ronjonp , I need the string to be a real , I got it from a CSV file , and need it to supply to point command.Try this:Code: [Select](setq pt1$ '("291235.933" "288772.8917" "27.49299344"))
to be
Code: [Select](setq pt1# '(291235.933 288772.8917 27.49299344))
Code: [Select](command "_point" pt1# "")
Hi Ronjonp.
which system variable control the decimal digits to be show?
I need all value to be as the original text
See file attached
(setvar 'dimzin 15)
(setq string-list (list "291236.8554589" "288773.10512548" "27.8163568"))
(setq real-list (mapcar 'atof string-list))
("291236.8554589" "288773.10512548" "27.8163568")
(291237.0 288773.0 27.8164)
(setq string (car string-list))
(setq real (atof string))
"291236.8554589"
291237.0
it returnwrongCode: [Select]"291236.8554589"
291237.0