Lines Matching refs:number
153 errln("Yuck... Formatted a duck... As a number!");
185 virtual UnicodeString& format(int64_t number,UnicodeString& appendTo,FieldPosition& pos) const {
186 return NumberFormat::format(number, appendTo, pos);
1498 // Test padding between a sign and a number
1698 // Make sure currency formats do not have a variable number
2105 /*2*/ "f:", // <pattern or '-'> <number> <exp. string>
2106 /*3*/ "fp:", // <pattern or '-'> <number> <exp. string> <exp. number>
2107 /*4*/ "rt:", // <pattern or '-'> <(exp.) number> <(exp.) string>
2108 /*5*/ "p:", // <pattern or '-'> <string> <exp. number>
2132 * the 'delim' character separating the number and the currency.
2208 // f: <pattern or '-'> <number> <exp. string>
2209 // fp: <pattern or '-'> <number> <exp. string> <exp. number>
2210 // rt: <pattern or '-'> <number> <string>
2232 // p: <pattern or '-'> <string to parse> <exp. number>
2459 // number => string (but not the other way around: number
2460 // => string => number2, might have number2 != number):
2497 // number => string (but not the other way around: number
2498 // => string => number2, might have number2 != number):
2550 // Default display of the number yields "1234.5599999999999"
2659 dataerrln("FAIL: Can't create number instance of style %d for host - %s",
2664 Formattable number(10.00);
2665 full->format(number, result1, status);
2827 errln("String Pattern Rounding Test Failed: Pattern: \"" + tests[i].pattern + "\" Number: " + tests[i].testCase + " - Got: " + result + " Expected: " + tests[i].expected);
2858 errln("Error formatting number.");
2864 errln("Error parsing number.");
2998 errln("FAILED parse " + stringToBeParsed + "; wrong number, expect: 124, got " + result.getLong());
3094 // currency number to be formatted,
3124 // j represents the number of currency sign in the pattern.
3146 // 'j' number of currency sign.
3207 errln("FAIL: getCurrencyFormat of default locale (en_US) failed roundtripping the number ");
3209 errln((UnicodeString)"wong number, expect: 1234.56" + ", got: " + curramt->getNumber().getDouble());
3241 // string to be parsed, the parsed result (number)
3351 localeString + " failed roundtripping the number");
3452 localeString + " failed roundtripping the number" +
6277 Formattable f1("this is not a number", status);
6309 f.setDecimalNumber("1234567890123", status); // Number too big for 32 bits
6390 // Check that a parse returns a decimal number with full accuracy
6470 /* Test that number formats are properly inherited from es_419 */
6494 dataerrln("Could not create number formatter for locale %s - %s",localeID, u_errorName(status));