Skip to main content

abs

Returns the absolute value of a number

abs(targetNumber)

Parameters#

  • targetNumber: A number

Returns#

  • No value

Example#

assertTrue(abs(-9) == 9)