Jump to content

Convert number


SkatCh

Recommended Posts

Posted

guys is there any function to convert a big number like this '10.235658946' to just two numbers '10' , i mean function like 'convertNumber'

Posted
math.floor --Highest 
math.ceil --Lowest 

Actually floor, as the names says already, rounds down.

Ceil, again as the name says, rounds up.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...