XDecimal.add_eq

Adds an amount to the specified XDecimal or XDecimalHI object.

Method of XDecimal, XDecimalHI

Syntax

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

Parameters

Parameter Description
XDecimal Object An XDecimal or XDecimalHI object to which the value will be added.

Description

The XDecimal or XDecimalHI object is changed by the value added to it.

Examples

The following illustrates how to use a Global MetaScript to add two values and display the results in alert boxes.

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