modf(Variable, Variable) Function

Top 

Description

Computes the signed integer and fractional portions of the specified value.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

 

Function Signature

modf(

Variable x,


Variable integerPortion)

 

Arguments

x


Description:

The value whose integer and fractional portions will be calculated.

 

integerPortion


Description:

Receives the integer portion of the specified value.

 

 

Return Value

Type:

number

 

The fractional portion of the specified value.

 

Syntax

myVariable1 = modf(myVariable2, myVariable3);

 

See also

modf