Desaster Posted November 16, 2013 Share Posted November 16, 2013 hello , I am useing this following math functions but I always use them but idk what they do exactly I readed it's description but I didn't understand nothing can s.o help me with an example that shows you the result ? math.floor math.ceil Link to comment
glowdemon1 Posted November 16, 2013 Share Posted November 16, 2013 It's really simple, math.floor(5.4212) would turn 5.4212 in simply 5. Math.ceil(5.4212) would turn 5.4212 into 6. It just rounds the numbers. Math.ceil goes to the first upper integer, math.floor goes to the first lower integer. Feel free to ask me again if you still don't understand. Link to comment
Desaster Posted November 16, 2013 Author Share Posted November 16, 2013 ahhhhhhh I got it thnx Link to comment
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