Merge tools changes from develop
This commit is contained in:
@@ -22,6 +22,8 @@
|
||||
package examples.datatypes;
|
||||
|
||||
import java.text.DecimalFormat;
|
||||
import java.text.DecimalFormatSymbols;
|
||||
import java.util.Locale;
|
||||
|
||||
import hdf.hdf5lib.H5;
|
||||
import hdf.hdf5lib.HDF5Constants;
|
||||
@@ -173,7 +175,7 @@ public class H5Ex_T_Float {
|
||||
}
|
||||
|
||||
// Output the data to the screen.
|
||||
DecimalFormat df = new DecimalFormat("#,##0.0000");
|
||||
DecimalFormat df = new DecimalFormat("#,##0.0000", new DecimalFormatSymbols(Locale.US));
|
||||
System.out.println(DATASETNAME + ":");
|
||||
for (int indx = 0; indx < dims[0]; indx++) {
|
||||
System.out.print(" [");
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
package examples.datatypes;
|
||||
|
||||
import java.text.DecimalFormat;
|
||||
import java.text.DecimalFormatSymbols;
|
||||
import java.util.Locale;
|
||||
|
||||
import hdf.hdf5lib.H5;
|
||||
import hdf.hdf5lib.HDF5Constants;
|
||||
@@ -201,7 +203,7 @@ public class H5Ex_T_FloatAttribute {
|
||||
}
|
||||
|
||||
// Output the data to the screen.
|
||||
DecimalFormat df = new DecimalFormat("#,##0.0000");
|
||||
DecimalFormat df = new DecimalFormat("#,##0.0000", new DecimalFormatSymbols(Locale.US));
|
||||
System.out.println(ATTRIBUTENAME + ":");
|
||||
for (int indx = 0; indx < dims[0]; indx++) {
|
||||
System.out.print(" [");
|
||||
|
||||
Reference in New Issue
Block a user