tigerman Posted June 20, 2011 Posted June 20, 2011 Hey, like subject says how to get rid of numbers.. like when u count 10/3 then awnser is 3,3333333 but how to make it just like 3 numbers after comma, so 3,33 thanks
Antibird Posted June 21, 2011 Posted June 21, 2011 Just in case, math.round is not a lua native function. See: Useful Functions. Also, if you have 9,99 do you wish it to become 10 or 9? Shall the float be dropped or the result is to be rounded?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now