snippet
Around numbers on Javascript with functions Floor, Round and Ceil exemples
Math.round(5.5) // Return 6
Math.ceil(5.5) // Return 6
Math.floor(5.5) // Return 5
Related snippets |
---|