abs(Variable) Function

Top 

Description

Computes the absolute value of the specified value.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

 

Function Signature

abs(

Variable x)

 

 

Arguments

x


Description:

The value whose absolute value will be returned.

 

 

 

Return Value

Type:

number

 

 

The absolute value of the specified value.

 

Syntax

myVariable1 = abs(myVariable2);

 

 

See also

abs