U_CAPI int32_t unum_getTextAttribute ( const UNumberFormat* fmt, UNumberFormatTextAttribute tag, UChar* result, int32_t resultLength, UErrorCode* status)
Get a text attribute associated with a UNumberFormat
Documentation
Get a text attribute associated with a UNumberFormat.
An example of a text attribute is the suffix for positive numbers.
- Returns:
- The total buffer size needed; if greater than resultLength, the output was truncated.
- Parameters:
- fmt - The formatter to query.
attr - The attribute to query; one of UNUM_POSITIVE_PREFIX, UNUM_POSITIVE_SUFFIX,
UNUM_NEGATIVE_PREFIX, UNUM_NEGATIVE_SUFFIX
result - A pointer to a buffer to receive the attribute.
resultLength - The maximum size of result.
status - A pointer to an UErrorCode to receive any errors
- See Also:
- unum_setTextAttribute
unum_getAttribute
unum_setAttribute
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