sign(Variable) Function

Top 

Description

Computes the numeric sign of the specified value.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

 

Function Signature

sign(

Variable x)

 

Arguments

x


Description:

The value whose numeric sign will be returned.

 

 

Return Value

Type:

number

 

The numeric sign of the specified value.

 

Syntax

myVariable1 = sign(myVariable2);

 

Example 1

 

See also

sign