Sources are UTF-8 so might as well use the raw character when specifying something that will be a part of output.

This commit is contained in:
Jesse Glick committed 2013-10-21 14:20:24 -04:00
1 parent 76bd6d6b91
commit 0e3afeb6c5
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -257,7 +257,7 @@ public class Functions {
* like "-5", "+/-0", "+3".
*/
public static String getDiffString(int i) {
if(i==0) return "\u00B10"; // +/-0
if(i==0) return "±0";
String s = Integer.toString(i);
if(i>0) return "+"+s;
else return s;