Lines Matching refs:TRUE
90 assertPatternFr("1 234,57", 1234.567, "#,##0.##", TRUE); in TestBasicPatterns()
91 assertPatternFr("1234,57", 1234.567, "0.##", TRUE); in TestBasicPatterns()
92 assertPatternFr("1235", 1234.567, "0", TRUE); in TestBasicPatterns()
93 assertPatternFr("1 234,567", 1234.567, "#,##0.###", TRUE); in TestBasicPatterns()
94 assertPatternFr("1234,567", 1234.567, "###0.#####", TRUE); in TestBasicPatterns()
95 assertPatternFr("1234,5670", 1234.567, "###0.0000#", TRUE); in TestBasicPatterns()
96 assertPatternFr("01234,5670", 1234.567, "00000.0000", TRUE); in TestBasicPatterns()
97 assertPatternFr("1 234,57 \\u20ac", 1234.567, "#,##0.00 \\u00a4", TRUE); in TestBasicPatterns()
108 assertEquals("", "34 567,89", format(1234567.89, *nf), TRUE); in TestNfSetters()
109 assertEquals("", "0 034,56", format(34.56, *nf), TRUE); in TestNfSetters()
113 assertPatternFr("1,0", 1.25, "0.5", TRUE); in TestRounding()
114 assertPatternFr("2,0", 1.75, "0.5", TRUE); in TestRounding()
115 assertPatternFr("-1,0", -1.25, "0.5", TRUE); in TestRounding()
116 assertPatternFr("-02,0", -1.75, "00.5", TRUE); in TestRounding()
117 assertPatternFr("0", 2.0, "4", TRUE); in TestRounding()
118 assertPatternFr("8", 6.0, "4", TRUE); in TestRounding()
119 assertPatternFr("8", 10.0, "4", TRUE); in TestRounding()
120 assertPatternFr("99,90", 99.0, "2.70", TRUE); in TestRounding()
121 assertPatternFr("273,00", 272.0, "2.73", TRUE); in TestRounding()
122 assertPatternFr("1 03,60", 104.0, "#,#3.70", TRUE); in TestRounding()
126 assertPatternFr("1230", 1234.0, "@@@", TRUE); in TestSignificantDigits()
127 assertPatternFr("1 234", 1234.0, "@,@@@", TRUE); in TestSignificantDigits()
128 assertPatternFr("1 235 000", 1234567.0, "@,@@@", TRUE); in TestSignificantDigits()
129 assertPatternFr("1 234 567", 1234567.0, "@@@@,@@@", TRUE); in TestSignificantDigits()
130 assertPatternFr("12 34 567,00", 1234567.0, "@@@@,@@,@@@", TRUE); in TestSignificantDigits()
131 assertPatternFr("12 34 567,0", 1234567.0, "@@@@,@@,@@#", TRUE); in TestSignificantDigits()
132 assertPatternFr("12 34 567", 1234567.0, "@@@@,@@,@##", TRUE); in TestSignificantDigits()
133 assertPatternFr("12 34 567", 1234567.001, "@@@@,@@,@##", TRUE); in TestSignificantDigits()
134 assertPatternFr("12 34 567", 1234567.001, "@@@@,@@,###", TRUE); in TestSignificantDigits()
135 assertPatternFr("1 200", 1234.0, "#,#@@", TRUE); in TestSignificantDigits()
139 assertPatternFr("1,23E4", 12345.0, "0.00E0", TRUE); in TestScientificNotation()
140 assertPatternFr("123,00E2", 12300.0, "000.00E0", TRUE); in TestScientificNotation()
141 assertPatternFr("123,0E2", 12300.0, "000.0#E0", TRUE); in TestScientificNotation()
142 assertPatternFr("123,0E2", 12300.1, "000.0#E0", TRUE); in TestScientificNotation()
143 assertPatternFr("123,01E2", 12301.0, "000.0#E0", TRUE); in TestScientificNotation()
144 assertPatternFr("123,01E+02", 12301.0, "000.0#E+00", TRUE); in TestScientificNotation()
145 assertPatternFr("12,3E3", 12345.0, "##0.00E0", TRUE); in TestScientificNotation()
146 assertPatternFr("12,300E3", 12300.1, "##0.0000E0", TRUE); in TestScientificNotation()
147 assertPatternFr("12,30E3", 12300.1, "##0.000#E0", TRUE); in TestScientificNotation()
148 assertPatternFr("12,301E3", 12301.0, "##0.000#E0", TRUE); in TestScientificNotation()
152 assertPatternFr("170,0E-3", 0.17, "##0.000#E0", TRUE); in TestScientificNotation()
157 assertPatternFr("57,3%", 0.573, "0.0%", TRUE); in TestPercent()
158 assertPatternFr("%57,3", 0.573, "%0.0", TRUE); in TestPercent()
159 assertPatternFr("p%p57,3", 0.573, "p%p0.0", TRUE); in TestPercent()
160 assertPatternFr("p%p0,6", 0.573, "p'%'p0.0", TRUE); in TestPercent()
161 assertPatternFr("%3,260", 0.0326, "%@@@@", TRUE); in TestPercent()
162 assertPatternFr("%1 540", 15.43, "%#,@@@", TRUE); in TestPercent()
163 assertPatternFr("%1 656,4", 16.55, "%#,##4.1", TRUE); in TestPercent()
164 assertPatternFr("%16,3E3", 162.55, "%##0.00E0", TRUE); in TestPercent()
168 assertPatternFr("573,0\\u2030", 0.573, "0.0\\u2030", TRUE); in TestPerMilli()
169 assertPatternFr("\\u2030573,0", 0.573, "\\u20300.0", TRUE); in TestPerMilli()
170 assertPatternFr("p\\u2030p573,0", 0.573, "p\\u2030p0.0", TRUE); in TestPerMilli()
171 assertPatternFr("p\\u2030p0,6", 0.573, "p'\\u2030'p0.0", TRUE); in TestPerMilli()
172 assertPatternFr("\\u203032,60", 0.0326, "\\u2030@@@@", TRUE); in TestPerMilli()
173 assertPatternFr("\\u203015 400", 15.43, "\\u2030#,@@@", TRUE); in TestPerMilli()
174 assertPatternFr("\\u203016 551,7", 16.55, "\\u2030#,##4.1", TRUE); in TestPerMilli()
175 assertPatternFr("\\u2030163E3", 162.55, "\\u2030##0.00E0", TRUE); in TestPerMilli()
179 assertPatternFr("$***1 234", 1234, "$**####,##0", TRUE); in TestPadding()
180 assertPatternFr("xxx$1 234", 1234, "*x$####,##0", TRUE); in TestPadding()
181 assertPatternFr("1 234xxx$", 1234, "####,##0*x$", TRUE); in TestPadding()
182 assertPatternFr("1 234$xxx", 1234, "####,##0$*x", TRUE); in TestPadding()
183 assertPatternFr("ne1 234nx", -1234, "####,##0$*x;ne#n", TRUE); in TestPadding()
184 assertPatternFr("n1 234*xx", -1234, "####,##0$*x;n#'*'", TRUE); in TestPadding()
185 assertPatternFr("yyyy%432,6", 4.33, "*y%4.2######", TRUE); in TestPadding()
203 assertEquals("", "JPY ****433", result, TRUE); in TestPadding()
221 assertEquals("", "USD (433.22)", result, TRUE); in TestPadding()
225 assertPatternFr("QU***43,3E-1", 4.33, paddedSciPattern, TRUE); in TestPadding()
240 assertEquals("", "QU**43,3EE-1", result, TRUE); in TestPadding()
244 assertPatternFr("QU**43,32E-1", 4.332, paddedSciPattern, TRUE); in TestPadding()