Skip to main content

Hi,

I have an attribute (string type) with values such as 37908.907836. If I use an AtributeRounder, I can reduce it to 37908.907. That's ok. But if I convert the string type to double type, the decimals comes again...

 

I have tried to convert first and to apply the AttributeRounder later but it doesn't work. Any suggestion?

 

Thanks!

This is unfortunately the way floating point numbers work in computers, see https://floating-point-gui.de/


Oh! I didn't know that! Thanks a lot for the answer!

 


Reply