Precision for Coordinates in Grasshopper

Hi,

I noticed that after using the divide component the Z coordinates of the points have a issue with precision only when the coordinate ends in 0, see below:

Do you see how some Z coordinates are 12 but others are 12.0. Technically it is 12 but is that an expected behavior?

I am doing something wrong?

Attached you can find my GH definition.

I am using:

image

Also I have windows 11.

Thanks,
Rolando
Test.gh (14.1 KB)

See David’s post

@Japhy thanks for the response. This is really helpful.