rounding numbers
Blitz3D Forums/Blitz3D Beginners Area/rounding numbers
| ||
is there a way to round float numbers to a certain decimal place? i dont want to convert them to an int, but i only want 2 decimals of accuracy. ie 1.25 rather than 1.2499999999323423232 |
| ||
Multiply by 100, convert to int and divide by 100? Edit : Oh you don't want to convert to an integer. Sorry |
| ||
yeah, that will work. good call. i was hoping for a native function that might work though. even if there was something that wasnt documented |