23.07.2013 Views

Java IO.pdf - Nguyen Dang Binh

Java IO.pdf - Nguyen Dang Binh

Java IO.pdf - Nguyen Dang Binh

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Slovak #,##0.### -1 234,56 #,##0.00 - 1 234,56<br />

Slovak (Slovakia) #,##0.### -1 234,56 Sk #,##0.00 ; -#,##0.00 Sk -1 234,56 Sk<br />

Slovenian #,##0.### -1.234,56 #,##0.00 - 1.234,56<br />

Slovenian (Slovenia) #,##0.### -1.234,56 tol #,##0.## -tol 1.234,56<br />

<strong>Java</strong> I/O<br />

Spanish #,##0.### -1.234,56 #,##0.00 - 1.234,56<br />

Spanish (Argentina) #,##0.### -1.234,56 $#,##0.00; ($#,##0.00) ($1.234,56)<br />

Spanish (Bolivia) #,##0.### -1,234.56 B$#,##0.00; (B$#,##0.00) (B$1,234.56)<br />

Spanish (Chile) #,##0.### -1.234,56 Ch$#,##0.00; Ch$-#,##0.00 Ch$-1.234,56<br />

Spanish (Colombia) #,##0.### -1,234.56 C$#,##0.00; (C$#,##0.00) (C$1,234.56)<br />

Spanish (Costa Rica) #,##0.### -1,234.56 C#,##0.00; (C#,##0.00) (C1,234.56)<br />

Spanish<br />

Republic)<br />

(Dominican<br />

#,##0.### -1,234.56 RD$#,##0.00; (RD$#,##0.00) (RD$1,234.56)<br />

Spanish (Ecuador) #,##0.### -1,234.56 S/#,##0.00; S/-#,##0.00 S/-1,234.56<br />

Spanish (El Salvador) #,##0.### -1,234.56 C#,##0.00; (C#,##0.00) (C1,234.56)<br />

Spanish (Guatemala) #,##0.### -1,234.56 Q#,##0.00; (Q#,##0.00) (Q1,234.56)<br />

Spanish (Honduras) #,##0.### -1,234.56 L#,##0.00; (L#,##0.00) (L1,234.56)<br />

Spanish (Mexico) #,##0.### -1,234.56 $#,##0.00; ($#,##0.00) ($1,234.56)<br />

Spanish (Nicaragua) #,##0.### -1,234.56 $C#,##0.00; ($C#,##0.00) ($C1,234.56)<br />

Spanish (Panama) #,##0.### -1,234.56 B#,##0.00; (B#,##0.00) (B1,234.56)<br />

Spanish (Paraguay) #,##0.### -1.234,56 G#,##0.00; (G#,##0.00) (G1.234,56)<br />

Spanish (Peru) #,##0.### -1.234,56 S/#,##0.00; S/-#,##0.00 S/-1.234,56<br />

Spanish (Puerto Rico) #,##0.### -1,234.56 $#,##0.00; ($#,##0.00) ($1,234.56)<br />

Spanish (Spain) #,##0.### -1.234,56 #,##0.00 Pts -1.234,56 Pts<br />

Spanish (Uruguay) #,##0.### -1.234,56 NU$ #,##0.00; (NU$#,##0.00) (NU$1.234,56)<br />

Spanish (Venezuela) #,##0.### -1.234,56 Bs#,##0.00; Bs -#,##0.00 Bs -1.234,56<br />

Swedish #,##0.### -1 234,56 #,##0.00 - 1 234,56<br />

Swedish (Sweden) #,##0.### -1 234,56 #,##0.00 kr -1 234,56 kr<br />

Thai #,##0.### -1,234.56 #,##0.00 - 1,234.56<br />

Thai (Thailand) #,##0.### -1,234.56 #,##0.00; -#,##0.00 -1,234.56<br />

Turkish #,##0.### -1.234,56 #,##0.00 - 1.234,56<br />

Turkish (Turkey) #,##0.### -1.234,56 #,##0.00 TL -1.234,56 TL<br />

Ukrainian #,##0.### -1.234,56 #,##0.00 - 1.234,56<br />

Ukrainian (Ukraine) #,##0.### -1.234,56 #,##0.## -1.234,56<br />

16.6.2 DecimalFormatSymbols<br />

Each DecimalFormat object has a DecimalFormatSymbols object that contains a list of the<br />

different symbols used by decimal number formats in a particular locale. The decimal format<br />

symbols specify the characters or strings used for the zero digit, the grouping separator, the<br />

decimal sign, the percent sign, the mille percent sign, infinity (IEEE 754 Inf), not a number<br />

(IEEE 754 NaN), and the minus sign. DecimalFormatSymbols has two constructors, but<br />

they're rarely used:<br />

public DecimalFormatSymbols()<br />

public DecimalFormatSymbols(Locale locale)<br />

Instead, the DecimalFormatSymbols object is retrieved from a particular DecimalFormat<br />

object using its getDecimalFormatSymbols() method:<br />

421

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!