Functions

rEduc Simulation en_US

Programming Languages
Categories

Absolute

rEduc

Returns the absolute value of the *number* provided in the first parameter.

Return

Type: float

Description: Returns the absolute value of the *number* provided in the first parameter.

Code

Absolute()

Examples

Absolute(-1)

Description: Transforms -1 in 1 (Number).

Write(ToText(Absolute(0-800)))

Description: Transforms -800 in 800 and prints on the console.