Loading...
 

CX_LOCALE::NegativeSignMA

CX_LOCALE::NegativeSignMA

Description:

This access function controls the input/output of the minus sign.

Note:
for the objects class CX_LOCALE and CX_STATE_LOCALE the function controls the minus sign of the superior country. If no parent country exists - error message "Error in a base-class".

for the objects class CX_COUNTRY_LOCALE, the function controls the minus sign of the superior country if a superior country exists. If no parent country exists for this object, the function controls the minus sign for this country.

Code example:

String(CX_COUNTRY_LOCALE::NegativeSignMA(),.....)

...........................................
SystemObject Call(GetLocale)
Get(upperLocale) Get(NegativeSignMA(),)
...........................................
Get(upperLocale) "-" Swap Put (NegativeSignMA(),)

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