1 ######################################################################
2 # Copyright (c) 2004, 2008 International Business Machines
3 # Corporation and others. All Rights Reserved.
4 ######################################################################
6 # Created: March 15 2004
8 ######################################################################
15 fp: "0.####" 0.10005 "0.1" 0.1
16 fp: - 0.10006 "0.1001" 0.1001
18 fp: "#.####" 0.10005 "0.1" 0.1
25 fp: "@@@" 1.234567 "1.23" 1.23
26 fp: - 1234567 "1230000" 1230000
27 fp: - 0.012345 "0.0123" 0.0123
29 fp: "#,@@@" 1234567 "1,230,000" 1230000
31 rt: "@@@@" 0.0012 "0.001200"
32 fp: - 0.99999 "1.000" 1
34 rt: "@###" 0.00123 "0.00123"
36 fp: - 123456 "123500" 123500
37 fp: - 12.3456 "12.35" 12.35
38 fp: - 0.0123456 "0.01235" 0.01235
40 fp: "@,###" 27182 "27,180" 27180
41 rt: - 123000 "123,000"
45 rt: "@##E0" 20000 "2E4"
48 fp: - 27182 "2.72E4" 27200
50 rt: "@@@E0" 20000 "2.00E4"
53 fp: - 27182 "2.72E4" 27200
55 fp: "#,@@##" 314156 "31,4200" 314200
60 fp: "@@@@@@" 123456.7 "123457" 123457
63 pat: "##,@@##" "#,@@##"
66 pat: "@@.@@" err # decimal sep. disallowed in sig. digits
67 pat: "@#@" err # only one cluster of sig. digits
68 pat: "@@0" err # either @ or 0, not both
70 # NumberRegression/Test4140009
71 rt: "" 123.456 "123.456"
72 rt: "" -123.456 "-123.456"
75 fpc: "en_US" 1234.56/USD "$1,234.56" 1234.56/USD
76 fpc: - 1234.56/JPY "\u00A51,235" 1235/JPY
77 # ISO codes that overlap display names (QQQ vs. Q)
78 fpc: - 123/QQQ "QQQ123.00" 123/QQQ # QQQ is fake
79 fpc: - 123/GTQ "Q123.00" 123/GTQ
80 # ChoiceFormat-based display names
81 fpc: - 1/INR "\u20a81.00" 1/INR
82 fpc: - 2/INR "\u20a82.00" 2/INR
83 # Display names with shared prefix (YDD vs. Y)
84 fpc: - 100/YDD "YDD100.00" 100/YDD
85 fpc: - 100/CNY "RMB100.00" 100/CNY