Pages

Wednesday, April 7, 2010

Floor command simulation in Lotus script

The command named Fix returns the Integer part of a fractional number.

This is similar to the command named Floor in Java or Javascript

For example ,  Msgbox Cstr(Fix(9/5)) will alert '1'

Also a particular numerical expression can be expressed as ,

Fix(numExpr) + fraction(numExpr) = numExpr.

And this is always true.
For More Info refer to the designer help
Hope this helps :) Cheers

No comments:

Post a Comment