Frac

Top  Previous  Next

Prototype

 

floatReslut:=Frac(floatNumber)

 

Description

 

It returns the fractional part of a number.

 

Parameters

 

floatNumber: float number you want fractional part of.

 

Returned value

 

floatResult: float number contains the fractional part of the number.

 

Notes

 

None.

 

Example

 

//It initializes a float variable

number:=2.12;

 

//It executes oteration

fractional:=frac(number);