How can I set float precision?

You could just use “Round” which would give you the nearest integer if you’re just trying to simplify.