AutoCAD 2018 :: Issue :: Rounding all decimal sentences to 0 (zero)

AutoCAD 2018 :: Issue :: Rounding all decimal sentences to 0 (zero)

RomuloMagalhaes
Participant Participant
962 Views
4 Replies
Message 1 of 5

AutoCAD 2018 :: Issue :: Rounding all decimal sentences to 0 (zero)

RomuloMagalhaes
Participant
Participant

I have a customer wich use AutoCAD 2017 and AutoCAD 2018, where do not been possible to obtain correct answers in expressions wich involve operations with decimal numbers.

 

See theses examples:

 

Examples of how occur rounding error in multiplication expression with decimal numbersExamples of how occur rounding error in multiplication expression with decimal numbers

 

Scenario:

  • . Windows 7 64 bits, portuguese;
  • . AutoCAD 2018 64 bits, english;
  • . Intel Core i3.

 

My question is: Why this happens, and how to obtain correct values in this expressions type?

 

 

Thank you very much.

Rômulo Magalhães

from Brazil.

0 Likes
963 Views
4 Replies
Replies (4)
Message 2 of 5

ВeekeeCZ
Consultant
Consultant

Reinstall ??

It's not my experience. C3D 2018 as ACAD, W7

 

image.png

 

0 Likes
Message 3 of 5

RomuloMagalhaes
Participant
Participant

I'm sorry... don't works for me.

I installed all updates, and... no works.

The same behavior repeats on AutoCAD 2017 and 2019.

Why?

Autodesk ? ... Please...

0 Likes
Message 4 of 5

-didier-
Advisor
Advisor

Hello

 

see the variable DIMZIN...

 

(french speaker)

Éternel débutant.. my site for learning : Programmer dans AutoCAD

DA

EESignature

0 Likes
Message 5 of 5

devitg
Advisor
Advisor

Please test at the command line , as I did . 

 

 

Command: (* 10 2.0)
20.0

Command: (* 10 0.2)
2.0

Command: (rtos (* 10 0.2) 2 2)
"2"

Or the the main VLIDE screen 

 

Or, as suggested

 (setvar 'dimzin    8  ) 

 

at the command line 

 

 

 

 
0 Likes