|
ICU 73.2
73.2
|
00001 // © 2017 and later: Unicode, Inc. and others. 00002 // License & terms of use: http://www.unicode.org/copyright.html 00003 00004 #ifndef __UNUMBEROPTIONS_H__ 00005 #define __UNUMBEROPTIONS_H__ 00006 00007 #include "unicode/utypes.h" 00008 00009 #if !UCONFIG_NO_FORMATTING 00010 00028 typedef enum UNumberFormatRoundingMode { 00029 UNUM_ROUND_CEILING, 00030 UNUM_ROUND_FLOOR, 00031 UNUM_ROUND_DOWN, 00032 UNUM_ROUND_UP, 00037 UNUM_ROUND_HALFEVEN, 00038 #ifndef U_HIDE_DEPRECATED_API 00039 00043 UNUM_FOUND_HALFEVEN = UNUM_ROUND_HALFEVEN, 00044 #endif /* U_HIDE_DEPRECATED_API */ 00045 UNUM_ROUND_HALFDOWN = UNUM_ROUND_HALFEVEN + 1, 00046 UNUM_ROUND_HALFUP, 00051 UNUM_ROUND_UNNECESSARY, 00056 UNUM_ROUND_HALF_ODD, 00061 UNUM_ROUND_HALF_CEILING, 00066 UNUM_ROUND_HALF_FLOOR, 00067 } UNumberFormatRoundingMode; 00068 00069 00096 typedef enum UNumberGroupingStrategy { 00102 UNUM_GROUPING_OFF, 00103 00118 UNUM_GROUPING_MIN2, 00119 00133 UNUM_GROUPING_AUTO, 00134 00149 UNUM_GROUPING_ON_ALIGNED, 00150 00157 UNUM_GROUPING_THOUSANDS 00158 00159 #ifndef U_HIDE_INTERNAL_API 00160 , 00166 UNUM_GROUPING_COUNT 00167 #endif /* U_HIDE_INTERNAL_API */ 00168 00169 } UNumberGroupingStrategy; 00170 00171 00172 #endif /* #if !UCONFIG_NO_FORMATTING */ 00173 #endif //__UNUMBEROPTIONS_H__
1.7.6.1