LOTUSSCRIPT LANGUAGE


Fraction function
Ejemplo

Returns the fractional part of a number.

Syntax

Fraction ( numExpr )

Elements

numExpr


Return value

The data type of the return value is the same as the data type of numExpr.

Usage

The following table shows special cases of the return value:

numExprReturn value
A date/time valueThe time portion
An integer0
NULL NULL

Consejo It is always true that Fix(numExpr) + fraction(numExpr) = numExpr.

Ejemplo
Véase también


Glosario
¿Desea opinar sobre la Ayuda o sobre la utilidad del producto?