Expression rounding

When I apply a round to one decimal it works, but not to 2 ? see image, why is that ?

It’s expected behavior when you place the value back in a float or a double. It is an artifact of binary representation of fractions that repeat. Us humans use base 10, which has fractions that end if the least common denominator is a power of 2 and/or 5. Binary fractions repeat if the least common denominator isn’t a power of 2.
round() gives you the closest binary representation of rounding to base 10.

2 Likes

Wrapping the entire transform in round might work better. Doubles/floating points are weird.