Returns the absolute value of the specified number.

Syntax

Smartsite SXML CopyCode image Copy Code
float math.abs(float a)

Parameters

Name Data Type Description
a Float Input number.

Return Value

Data Type Description
Float Absolute value of the specified number.

Expand image Example

SXML