VARKON Version 1.15 1997-10-24


frac - Function

Mathematical function


Description

Returns the fractional part of an argument.

Syntax

frac(x)

FLOAT x;


Principal parameters

x - Any value


Optional parameters

None.


Return value

A FLOAT value equal to the decimal fraction of x. If x is positive frac(x) is also positive and if x is negative frac(x) is negative.


Copyright © Microform AB Henningholmsgatan 4  S-703 69 Örebro SWEDEN  E-mail:  info@microform.se

VARKON Homepage Index