XDecimal.sub_eq

Subtracts an amount from the specified XDecimal or XDecimalHI object. .

Method of XDecimal, XDecimalHI

Syntax

{XDecimal Object}.sub_eq(XDecimal(1.2))

Parameters

Parameter Description
XDecimal Object An XDecimal or XDecimalHI object from which the specified value will be subtracted.

Description

The XDecimal or XDecimalHI object is changed by the value subtracted from it.

Examples

The following illustrates how to use Global MetaScript to subtract one value from another value and display the results in an alert boxes.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.