input :123.45.
expect output : 0123.4500
In my netbean 8.02 jdk 8 the result when I run the following code is: 0123,4500
In other compile online site (tutorialspoint/ ideone) the result is : 0123.4500
I don't understand why my result have the comma instead of dot? Anyhelp can give me expect output is 0123.4500 ??
public class MainClass{
public static void main(String[] args) {
String out="";
String Format="0000.0000";
DecimalFormat dfm=new DecimalFormat(Format);
out=dfm.format(123.45);
System.out.println("out="+out);
}
}