-
Notifications
You must be signed in to change notification settings - Fork 1
Floor
ricardoboss edited this page Sep 13, 2023
·
1 revision
floor
returns the largest integer smaller than or equal to a number.
floor(number x)
-
x
is the number to return the largest integer smaller than or equal to.
floor(1.5) // 1
floor(-1.5) // -2
© 2023 Ricardo Boss • Licensed under MIT • Want to update this page? Edit it on GitHub and submit a pull request!