floor(Variable) Function

Top 

Description

Computes the floor value of the specified value. The floor is the largest integer that is less than or equal to the specified value.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

 

Function Signature

floor(

Variable x)

 

 

Arguments

x


Description:

The value whose floor value will be returned.

 

 

 

Return Value

Type:

number

 

 

The floor value of the specified value.

 

Syntax

myVariable1 = floor(myVariable2);

 

 

Example 1

 

 

See also

floor