Home | History | Annotate | Download | only in unicode

Lines Matching refs:number

27  * <h2> Number Format C API </h2>
29 * Number Format C API Provides functions for
30 * formatting and parsing a number. Also provides methods for
31 * determining which locales have number formats, and what their names
37 * decimal digits used, or whether the number format is even decimal.
38 * There are different number format styles like decimal, currency,
41 * To format a number for the current Locale, use one of the static
83 * To format a number for a different Locale, specify it in the
99 * Use UNUM_DECIMAL to get the normal number format for that country.
101 * to get the currency number format for that country. Use UNUM_PERCENT
126 /** A number formatter.
132 /** The possible number format styles.
198 * One more than the highest number format style constant.
214 /** The possible number format rounding modes.
243 /** The possible number format pad positions.
323 * @param style The type of number format to open: one of
327 * number format is opened using the given pattern, which must conform
333 * @param patternLength The number of characters in the pattern, or -1
401 * @param number The number to format.
402 * @param result A pointer to a buffer to receive the formatted number.
406 * the beginning and ending indices of field number position->field, if such
420 int32_t number,
430 * @param number The number to format.
431 * @param result A pointer to a buffer to receive the formatted number.
435 * the beginning and ending indices of field number position->field, if such
449 int64_t number,
459 * @param number The number to format.
460 * @param result A pointer to a buffer to receive the formatted number.
464 * the beginning and ending indices of field number position->field, if such
478 double number,
485 * Format a decimal number using a UNumberFormat.
486 * The number will be formatted according to the UNumberFormat's locale.
487 * The syntax of the input number is a "numeric string"
491 * @param number The number to format.
492 * @param length The length of the input number, or -1 if the input is nul-terminated.
493 * @param result A pointer to a buffer to receive the formatted number.
497 * the beginning and ending indices of field number position->field, if such
511 const char * number,
522 * @param number the number to format
524 * @param result a pointer to the buffer to receive the formatted number
525 * @param resultLength the maximum number of UChars to write to result
529 * field number position->field, if such a field exists. This
541 double number,
622 * Parse a number from a string into an unformatted numeric string using a UNumberFormat.
632 * @param outBuf A (char *) buffer to receive the parsed number as a string. The output string
711 * valid for rule-based number formats.
713 * @return A locale for which number formatting patterns are available, or 0 if none.
722 * results of this call are not valid for rule-based number formats.
725 * @return The number of locales for which decimal formatting patterns are available.
848 * An example of a numeric attribute is the number of integer digits a formatter will produce.
869 * An example of a numeric attribute is the number of integer digits a formatter will produce. If the
894 * An example of a numeric attribute is the number of integer digits a formatter will produce.
912 * An example of a numeric attribute is the number of integer digits a formatter will produce.
1030 * Constants for specifying a number format symbol.
1116 * characters in a number, for example the percent sign. This API is not
1139 * characters in a number, for example the percent sign. This API is not
1158 * Get the locale for this number format object.