Data format change help please

Data format change help please

Anonymous
Not applicable
835 Views
4 Replies
Message 1 of 5

Data format change help please

Anonymous
Not applicable

Can someone please help me find the code to change my data in this format ("1.000") to 1.000.

 

Thanks

George and behalf of Chris

0 Likes
Accepted solutions (1)
836 Views
4 Replies
Replies (4)
Message 2 of 5

pbejse
Mentor
Mentor

@Anonymous wrote:

Can someone please help me find the code to change my data in this format ("1.000") to 1.000.

 


George and behalf of Chris    <--- Smiley Very Happy

 

changing string to real numbers

 

distof (distof "1.000") --> 1.000

 

car (distof (car '("1.000"))  --> 1.000

 

HTH

 

0 Likes
Message 3 of 5

_Tharwat
Advisor
Advisor

Another.

 

(apply 'distof '("1.000"))
0 Likes
Message 4 of 5

Kent1Cooper
Consultant
Consultant
Accepted solution

Also (atof):

 

(atof (car '("1.000")))

Kent Cooper, AIA
0 Likes
Message 5 of 5

Anonymous
Not applicable

Thank you 🙂

0 Likes