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:

numExpr

Return value

A date/time value

The time portion

An integer

0

NULL

NULL

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

Example