Go to the documentation of this file.
4 #ifndef __UNUMBEROPTIONS_H__
5 #define __UNUMBEROPTIONS_H__
9 #if !UCONFIG_NO_FORMATTING
38 #ifndef U_HIDE_DEPRECATED_API
159 #ifndef U_HIDE_INTERNAL_API
173 #endif //__UNUMBEROPTIONS_H__
@ UNUM_ROUND_HALF_FLOOR
Rounds ties toward -∞.
Basic definitions for ICU, for both C and C++ APIs.
@ UNUM_GROUPING_AUTO
Display grouping using the default strategy for all locales.
@ UNUM_ROUND_HALFEVEN
Half-even rounding.
UNumberFormatRoundingMode
The possible number format rounding modes.
@ UNUM_FOUND_HALFEVEN
Half-even rounding, misspelled name.
@ UNUM_ROUND_HALF_CEILING
Rounds ties toward +∞.
@ UNUM_GROUPING_OFF
Do not display grouping separators in any locale.
@ UNUM_ROUND_HALF_ODD
Rounds ties toward the odd number.
@ UNUM_GROUPING_THOUSANDS
Use the Western defaults: groups of 3 and enabled for all numbers 1000 or greater.
@ UNUM_ROUND_UNNECESSARY
ROUND_UNNECESSARY reports an error if formatted result is not exact.
@ UNUM_GROUPING_COUNT
One more than the highest UNumberGroupingStrategy value.
@ UNUM_GROUPING_MIN2
Display grouping using locale defaults, except do not show grouping on values smaller than 10000 (suc...
UNumberGroupingStrategy
An enum declaring the strategy for when and how to display grouping separators (i....
@ UNUM_GROUPING_ON_ALIGNED
Always display the grouping separator on values of at least 1000.