New in package 167
Creates a new XDecimal or XDecimalHI object that is the ceiling of a Number, XDecimal or XDecimalHI object.
Method of XDecimal, XDecimalHI
Syntax
XDecimal.ceil(Value)
Parameters
Parameter | Description |
---|---|
Value | A Number, XDecimal or XDecimalHI number that will be added to Value (see below). |
Description
A new XDecimal or XDecimalHI object is created with a value of the ceiling of Value
Examples
The following illustrates how to use Global MetaScript to compute the ceiling of a value and display the results in alert boxes.