Loading...
 

CX_LOCALE::NonCurrencyUnitPrecedesMA

CX_LOCALE::NonCurrencyUnitPrecedesMA

Description:

This access function controls whether in the output of a CX_VALUEwith a non-currency unit the unit is displayed before or after the value.

Note:
For the objects class CX_LOCALE and CX_STATE_LOCALE, the function controls the position of the unit for the parent country. If no parent country exists - error message "Error in a base-class".

For the objects class CX_COUNTRY_LOCALE, the function controls the position of the unit for the superior country if a superior country exists. If no higher-level country exists for this object, the position for this country controls the unit.

Code example:

String(CX_COUNTRY_LOCALE::NonCurrencyUnitPrecedesMA, .....)

...........................................
SystemObject Call(GetLocale)
Get(upperLocale) Get(NonCurrencyUnitPrecedesMA)
...........................................
Get(upperLocale) "+" Swap Put(NonCurrencyUnitPrecedesMA))

Function call: <Widget> (CX_LOCALE::NonCurrencyUnitPrecedesMA(), ...)
widget> (CX_STATE_LOCALE::NonCurrencyUnitPrecedesMA(), ...)
widget> (CX_COUNTRY_LOCALE::NonCurrencyUnitPrecedesMA(), ...)
or with Put and Get (see example)