Skip to main content

floor

Returns the floor value of a number

floor(targetNumber)

Parameters#

  • targetNumber: A number

Returns#

  • No value

Example#

assertTrue(floor(9.9) == 9)