diff options
-rw-r--r-- | blaconvert.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/blaconvert.java b/blaconvert.java index 092d7d4..8dd53ad 100644 --- a/blaconvert.java +++ b/blaconvert.java @@ -237,7 +237,7 @@ public class blaconvert { String fixed = ""; for (int i = 0; i < chars.length; i++) { - if (Character.getNumericValue(chars[i]) < 0 && chars[i] != '.') + if (Character.getNumericValue(chars[i]) < 0 && chars[i] != '.' && chars[i] != '-') { fixed += ","; } else { |