Mwnci abs() function

Syntax

abs(n)

Parameters

Parameter Description
n Required. A number

Description

The abs() function returns the absolute value of the specified number.

Example

x = abs(-7.25)
println(x)

7.25