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.
309 * @param style The type of number format to open: one of
313 * number format is opened using the given pattern, which must conform
319 * @param patternLength The number of characters in the pattern, or -1
387 * @param number The number to format.
388 * @param result A pointer to a buffer to receive the formatted number.
392 * the beginning and ending indices of field number position->field, if such
406 int32_t number,
416 * @param number The number to format.
417 * @param result A pointer to a buffer to receive the formatted number.
421 * the beginning and ending indices of field number position->field, if such
435 int64_t number,
445 * @param number The number to format.
446 * @param result A pointer to a buffer to receive the formatted number.
450 * the beginning and ending indices of field number position->field, if such
464 double number,
471 * Format a decimal number using a UNumberFormat.
472 * The number will be formatted according to the UNumberFormat's locale.
473 * The syntax of the input number is a "numeric string"
477 * @param number The number to format.
478 * @param length The length of the input number, or -1 if the input is nul-terminated.
479 * @param result A pointer to a buffer to receive the formatted number.
483 * the beginning and ending indices of field number position->field, if such
497 const char * number,
508 * @param number the number to format
510 * @param result a pointer to the buffer to receive the formatted number
511 * @param resultLength the maximum number of UChars to write to result
515 * field number position->field, if such a field exists. This
527 double number,
608 * Parse a number from a string into an unformatted numeric string using a UNumberFormat.
618 * @param outBuf A (char *) buffer to receive the parsed number as a string. The output string
697 * valid for rule-based number formats.
699 * @return A locale for which number formatting patterns are available, or 0 if none.
708 * results of this call are not valid for rule-based number formats.
711 * @return The number of locales for which decimal formatting patterns are available.
817 * An example of a numeric attribute is the number of integer digits a formatter will produce.
837 * An example of a numeric attribute is the number of integer digits a formatter will produce. If the
862 * An example of a numeric attribute is the number of integer digits a formatter will produce.
880 * An example of a numeric attribute is the number of integer digits a formatter will produce.
998 * Constants for specifying a number format symbol.
1084 * characters in a number, for example the percent sign. This API is not
1107 * characters in a number, for example the percent sign. This API is not
1126 * Get the locale for this number format object.