Skip to content

ABS ​

Returns a positive number regardless of the sign of the original number.

js
ABS(input_number)

Parameters ​

  • input_number - The number input.

Examples ​

js
ABS(-245.33)

Result: 245.33