round(Variable) Function

Top 

Description

Computes the nearest-integer rounding of the specified value.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

 

Function Signature

round(

Variable x)

 

Arguments

x


Description:

The value whose nearest-integer rounding will be returned.

 

 

Return Value

Type:

number

 

The nearest-integer rounding of the specified value.

 

Syntax

myVariable1 = round(myVariable2);

 

Example 1

 

See also

round