Object <- Currency |
|
Class Currency defines no new operations.
Attributes
Get list of all attributes
|
CurrencySubUnits CurrencySymbol DefaultPrecision |
| Field | Type | |
|---|---|---|
| Currency: | currencySymbol: | Text |
| currencySubUnits: | Unsigned | |
| defaultPrecision: | Unsigned |
instance Currency tag; currencySymbol: nilObject; currencySubUnits: 0; defaultPrecision: 0; end instance;
Define Class Currency; inherits from Object; field currencySymbol: Text, getter; // e.g., '$' field currencySubUnits: Unsigned, getter; // can be 5, 10, 20, 100, 1000 field defaultPrecision: Unsigned, getter; // the default precision used for formatting amounts in this currency. // Examples: 2 for U.S. dollar, 0 for Italian lira attribute CurrencySymbol: Text, readOnly; attribute CurrencySubUnits: Unsigned, readOnly; attribute DefaultPrecision: Unsigned, readOnly; end class;