numeric.abs()

Absolute-value function. The absolute value of a number is the number without its sign.

numeric.abs( )

Returns: Number

This function does not take any arguments.

Examples

numeric = -3.7;
    writedump(numeric.abs());

See also