Skip to main content

Fraction function (LotusScript Language)

Returns the fractional part of a number.

Syntax

Fraction ( numExpr )

Elements

numExpr

Any numeric expression.

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
NULLNULL

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

Example