U_CAPI int32_t unum_getAttribute (const UNumberFormat* fmt, UNumberFormatAttribute attr)

Get a numeric attribute associated with a UNumberFormat

Documentation

Get a numeric attribute associated with a UNumberFormat. An example of a numeric attribute is the number of integer digits a formatter will produce.
Returns:
The value of attr.
Parameters:
fmt - The formatter to query.
attr - The attribute to query; one of UNUM_PARSE_INT_ONLY, UNUM_GROUPING_USED, UNUM_DECIMAL_ALWAYS_SHOWN, UNUM_MAX_INTEGER_DIGITS, UNUM_MIN_INTEGER_DIGITS, UNUM_INTEGER_DIGITS, UNUM_MAX_FRACTION_DIGITS, UNUM_MIN_FRACTION_DIGITS, UNUM_FRACTION_DIGITS, UNUM_MULTIPLIER, UNUM_GROUPING_SIZE, UNUM_ROUNDING_MODE, UNUM_FORMAT_WIDTH, UNUM_PADDING_POSITION.
See Also:
unum_setAttribute
unum_getDoubleAttribute
unum_setDoubleAttribute
unum_getTextAttribute
unum_setTextAttribute

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de