Wednesday, April 7, 2010

Ceil command simulation in Lotusscript

Assume that you have a numeric expression "numExpr" on whichyou want to perform the Ceil operation.

This can be achieved by using the following expression,

Fix(numExpr)+1

In java Math.Ceil(9/5) will return 2.
Fix(9/5)+1 will also return 2... thus Ceil command simulation in Lotusscript is achieved

Hope this help :)

No comments:

Post a Comment