MIKI785 Posted January 2, 2012 Posted January 2, 2012 Hello, I have a problem, I can't change float to interger, how to do it? I tried to do it via string.gsub it worked, it made 6 from 6.5, but it didn't worked for 26.5, I don't know why.. is there any other way how to do it?
Castillo Posted January 2, 2012 Posted January 2, 2012 Not sure, maybe this could help? https://wiki.multitheftauto.com/wiki/Math.round You can also use math.floor(number)
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