Skip to main content
Question

Hi Superfluous decimals are added to certain numbers already containing decimals, but not on whole numbers. Sometimes the decimal already present is reduced. Can you help me so that I suggest a possible solution?

  • August 2, 2023
  • 2 replies
  • 19 views

Examples:

10 > 10

5.1 > 5.09999990463256

10.1 > 10.100000381469727

20.1 > 20.100000381469727

17.6 > 17.600000381469727

20.3 > 20.299999237060547

8.4 > 8.399999618530273

5.3 > 5.30000019073486

207.97 > 207.97000122070312

2 replies

redgeographics
Celebrity
Forum|alt.badge.img+59
  • Celebrity
  • 3700 replies
  • August 2, 2023

You can use an AttributeRounder to fix that.


geomancer
Evangelist
Forum|alt.badge.img+58
  • Evangelist
  • 932 replies
  • August 2, 2023

You can use @round in the Arithmatic Editor:

@round(@CurrentAttribute(),5)