changequote({,}) define({_TITLE_},{Varkon MBS Programmers manual}) define({_SUBTITLE_},{- frac - Function}) define({_INDEXLINK_},{index}) define({_STYLE_},{../varkonstyle.css}) include(../../include/header.inc)
Returns the fractional part (decimals) of a FLOAT argument.
dec:=frac(x); float dec; float x;
x | - A value. |
None.
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.
dec:=frac(25.35); ! Returns 0.35 dec:=frac(-0.99); ! Returns -0.99include(../../include/svnversion.inc) include(../../include/footer.inc)