TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: prexem on July 26, 2008, 08:57:15 PM
-
Reason
(fix (/ 1.2 0.2))
gives as result 5 and not 6?
....Thanks.
-
It's an ACAD rounding error:
(rtos (/ 1.2 0.2) 2 16)
"5.999999999999999"
-
Hi CAB:
Really the correct result is 5, FIX does not fail then.
Thank You.