Skip to content

Commit

Permalink
Fix Unit to use UTF-8
Browse files Browse the repository at this point in the history
  • Loading branch information
unascribed committed Feb 20, 2017
1 parent b6150cb commit cd8e7b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/elytradev/probe/api/impl/Unit.java
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public static String formatSI(double d, IUnit u) {
} else if (d<MICRO) {
return FORMAT.format(d/NANO)+" n"+u.getAbbreviation();
} else if (d<MILLI) {
return FORMAT.format(d/MICRO)+" µ"+u.getAbbreviation();
return FORMAT.format(d/MICRO)+" µ"+u.getAbbreviation();
} else if (d<1.0) {
return FORMAT.format(d/MILLI)+" m"+u.getAbbreviation();
} else {
Expand Down

0 comments on commit cd8e7b7

Please sign in to comment.