trunc(Variable) Function

Top 

Description

Computes the integer part of the specified value.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

 

Function Signature

trunc(

Variable x)

 

 

Arguments

x


Description:

The value whose integer part will be returned.

 

 

 

Return Value

Type:

number

 

 

The integer part of the specified value.

 

Syntax

myVariable1 = trunc(myVariable2);

 

 

See also

trunc