Message 1 of 8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I have a scenario where I am using X,Y,Z from a csv file and create points form the data and use it further in my lisp.
When I use atof to get the coordinates it rounds of the decimal value and hence point prepared is incorrect and not on the line (form where it was extracted into the csv) Due to this code fails.
Ex for X Coordinate : (setq X (atof "494965.6096")) returns 494966.0. I need 494965.6096 in response. As I dont get decimal points exact point is not re-created. Is there any way that I can get 494965.6096 in variable from "494965.6096".
Please suggest. I have gone through various posts but could not find a solution. Please help.
Regards,
Divya
Solved! Go to Solution.