Home > lang > frac 
 en fr de es it nl pl pt pt_BR mk sq hu cs tr ar fa id vi ko ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Search  Administration  
Documentation  
Warning! This page is not translated.  See english version 
Frac
Value = Frac ( Number ) AS Float

Computes the fractional part of the Number.

Example

PRINT Frac(Pi)

0.14159265359

If the Number argument is a Date, then the Frac returns the Time component of the date.

PRINT Frac(Date(1999, 12, 13, 14, 20, 00))
PRINT CDate(Frac(Date(1999, 12, 13, 14, 20, 00)))

0.597222222015
14:20:00

See also

Arithmetical Functions