decimals 2 or 3 on lisp

decimals 2 or 3 on lisp

Anonymous
Not applicable
964 Views
4 Replies
Message 1 of 5

decimals 2 or 3 on lisp

Anonymous
Not applicable

thank someone for help.
I have a routine in lisp, that after going to read the point x, remove the value of y, and write that value in the drawing.
my problem is that I want you to always write the value with 3 decimals, or 2 decimal places, but that's not what you do, sometimes write 0.12 instead of 0.120 other times 0.17 instead of 0.170 ....
someone tells me how can I force you to always write with the decimal places I define (2 or 3 ...)
Thanks

JM

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

braudpat
Mentor
Mentor
Accepted solution
Hello

Please try your Lisp routine with DIMZIN = 0

The Health, Bye, Patrice
Patrice ( Supporting Troops ) - Autodesk Expert Elite
If you are happy with my answer please mark "Accept as Solution" and if very happy please give me a Kudos (Felicitations) - Thanks

Patrice BRAUD

EESignature


0 Likes
Message 3 of 5

ВeekeeCZ
Consultant
Consultant

You need to control DIMZIN sysvar with your lisp.

Message 4 of 5

Anonymous
Not applicable
Ok, thank you very much

J.Moura


0 Likes
Message 5 of 5

Anonymous
Not applicable
ok, thank you very much
0 Likes