How do I shorten this?

I get a ui’s position, but it’s position is this:
“0.2901785671710968”

How do I shorten this to something like “0.29” instead of having that long of a string?

Does it NEED to be shortened? If you do shorten it like round it, it would be in a different position.

math.floor(x*100)/100
if you want more or less decimal places change the amount of 0s in the 100

1 Like

that number is ridicolous so I think that if you just put 0.29 it will be almost the same