Lines Matching refs:number
96 * // Print out a number with the localized number, currency and percent
133 * <strong>// Print out a number using the localized number, currency,
156 * manipulate aspects of the pattern, such as the minimum number of integer
192 * <td>Number
197 * <td>Number
202 * <td>Number
207 * <td>Number
212 * <td>Number
217 * <td>Number
222 * <td>Number
227 * <td>Number
283 * prefix and suffix; the number of digits, minimal digits, and other
300 * size</em> is the number of digits between the grouping separators, such as 3
307 * "#,##,##0", and the number 123456789 is formatted as "12,34,56,789". If a
320 * subpattern := prefix? number exponent? suffix?
321 * number := (integer ('.' fraction)?) | sigDigits
353 * "#,##,###" formats the number 123456789 as
394 * <ul><li>If the number of actual integer digits exceeds the
399 * <li>If the number of actual integer digits is less than the
404 * <li>If the number of actual fraction digits exceeds the <em>maximum
410 * <li>If the number of actual fraction digits is less than the
442 * scientific notation. Example: "0.###E0" formats the number 1234 as
446 * <li>The number of digit characters after the exponent character gives the
455 * <li>The minimum number of integer digits is achieved by adjusting the
457 * only happens if there is no maximum number of integer digits. If there is a
458 * maximum, then the minimum number of integer digits is fixed at one.
460 * <li>The maximum number of integer digits, if present, specifies the exponent
463 * "##0.###E0". The number 12345 is formatted using "##0.####E0" as "12.345E3".
466 * digit counts using significant digits logic. The maximum number of
467 * significant digits limits the total number of integer and fraction
472 * <li>The number of significant digits shown is determined as
474 * minimum number of significant digits shown is one, and the maximum
475 * number of significant digits shown is the sum of the <em>minimum
481 * getMaximumSignificantDigits(). In this case, the number of
493 * counts, the number of integer and fraction digits is not specified
496 * digits are required to display the specified number of significant
504 * <td align=left>Number
534 * specify a minimum and maximum number of significant digits. These
536 * characters. The minimum number of significant digits is the number
537 * of <code>'@'</code> characters. The maximum number of significant
538 * digits is the number of <code>'@'</code> characters plus the number
543 * the decimal separator are suppressed after the minimum number of
545 * <code>"@##"</code> formats the number 0.1203 as
553 * <li>Any number of <code>'#'</code> characters may be prepended to
568 * <li>The number of significant digits has no effect on parsing.
681 * Return U_FORMAT_INEXACT_ERROR if number does not format exactly.
897 * Format a double or long number using base-10 representation.
899 * @param number The value to be formatted.
907 virtual UnicodeString& format(double number,
913 * Format a double or long number using base-10 representation.
915 * @param number The value to be formatted.
924 virtual UnicodeString& format(double number,
930 * Format a double or long number using base-10 representation.
932 * @param number The value to be formatted.
942 virtual UnicodeString& format(double number,
948 * Format a long number using base-10 representation.
950 * @param number The value to be formatted.
958 virtual UnicodeString& format(int32_t number,
963 * Format a long number using base-10 representation.
965 * @param number The value to be formatted.
973 virtual UnicodeString& format(int32_t number,
979 * Format a long number using base-10 representation.
981 * @param number The value to be formatted.
991 virtual UnicodeString& format(int32_t number,
997 * Format an int64 number using base-10 representation.
999 * @param number The value to be formatted.
1007 virtual UnicodeString& format(int64_t number,
1012 * Format an int64 number using base-10 representation.
1014 * @param number The value to be formatted.
1022 virtual UnicodeString& format(int64_t number,
1028 * Format an int64 number using base-10 representation.
1030 * @param number The value to be formatted.
1040 virtual UnicodeString& format(int64_t number,
1046 * Format a decimal number.
1047 * The syntax of the unformatted number is a "numeric string"
1051 * @param number The unformatted number, as a string.
1061 virtual UnicodeString& format(const StringPiece &number,
1068 * Format a decimal number.
1069 * The number is a DigitList wrapper onto a floating point decimal number.
1070 * The default implementation in NumberFormat converts the decimal number
1073 * @param number The number, a DigitList format Decimal Floating Point.
1082 virtual UnicodeString& format(const DigitList &number,
1088 * Format a decimal number.
1089 * The number is a DigitList wrapper onto a floating point decimal number.
1090 * The default implementation in NumberFormat converts the decimal number
1093 * @param number The number, a DigitList format Decimal Floating Point.
1102 virtual UnicodeString& format(const DigitList &number,
1142 * Format a double number.
1144 * @param number The value to be formatted.
1150 UnicodeString& format(double number,
1155 number. These methods call the NumberFormat
1158 * @param number The value to be formatted.
1164 UnicodeString& format(int32_t number,
1169 * Format an int64 number. These methods call the NumberFormat
1172 * @param number The value to be formatted.
1178 UnicodeString& format(int64_t number,
1402 * numbers will be rounded to the number of digits displayed.
1540 * is used, the effective maximum number of integer digits is <= 8. If the
1541 * maximum number of integer digits is set to more than 8, the effective
1543 * number format without additional changes.
1611 * Return the grouping size. Grouping size is the number of digits between
1612 * grouping separators in the integer portion of a number. For example,
1613 * in the number "123,456.78", the grouping size is 3.
1624 * Set the grouping size. Grouping size is the number of digits between
1625 * grouping separators in the integer portion of a number. For example,
1626 * in the number "123,456.78", the grouping size is 3.
1645 * the number 123456789 formats as "1,23,45,6789", and the pattern
1804 * Sets the maximum number of digits allowed in the integer portion of a
1805 * number. This override limits the integer digit count to 309.
1807 * @param newValue the new value of the maximum number of digits
1808 * allowed in the integer portion of a number.
1815 * Sets the minimum number of digits allowed in the integer portion of a
1816 * number. This override limits the integer digit count to 309.
1818 * @param newValue the new value of the minimum number of digits
1819 * allowed in the integer portion of a number.
1826 * Sets the maximum number of digits allowed in the fraction portion of a
1827 * number. This override limits the fraction digit count to 340.
1829 * @param newValue the new value of the maximum number of digits
1830 * allowed in the fraction portion of a number.
1837 * Sets the minimum number of digits allowed in the fraction portion of a
1838 * number. This override limits the fraction digit count to 340.
1840 * @param newValue the new value of the minimum number of digits
1841 * allowed in the fraction portion of a number.
1848 * Returns the minimum number of significant digits that will be
1857 * Returns the maximum number of significant digits that will be
1866 * Sets the minimum number of significant digits that will be
1877 * Sets the maximum number of significant digits that will be
2033 * Do the work of formatting a number, either a double or a long.
2132 double number,
2151 double number,
2199 UnicodeString& _format(int64_t number,
2203 UnicodeString& _format(double number,
2207 UnicodeString& _format(const DigitList &number,
2390 DigitList& _round(const DigitList& number, DigitList& adjustedNum, UBool& isNegative, UErrorCode& status) const;
2403 /** number of integer digits
2407 /** number of fraction digits
2414 number of digits is due to flipping from some other mode that didn't
2417 * this number, it wouldn't make sense anyway, and this is just to make sure
2450 DecimalFormat::format(double number,
2453 return format(number, appendTo, pos);
2457 DecimalFormat::format(int32_t number,
2460 return format((int64_t)number, appendTo, pos);