exist a any methot to transform or round a float like "89.12345" to "89.12" or somthing like this

I am trying to make a drop rate system but when I use the function that pseudo-randomly gives me a float it gives me a very long float and I would like to keep it in 2 digits but I don’t know how

I’m not sure if this is possible, but I know of the Ceil and Floor methods that can round floats up or down to the nearest whole digit

yeah, i founded but i don’t know how to use this method

This post should answer your question :slight_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.