JavaScript Methods > Math Methods > Flashcards
ceil(x)
Returns x, rounded upwards to the nearest integer
floor(x)
Returns x, rounded downwards to the nearest integer
random()
Returns a random number between 0 and 1
round(x)
Rounds x to the nearest integer