Browse Source

Fixed missing space for singular customary tons

tags/v0.7.0
Fen Dweller 7 years ago
parent
commit
ca0f3f952a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      units.js

+ 1
- 1
units.js View File

@@ -140,7 +140,7 @@ function customaryMass(kg, singular=false) {
return mass + (singular || mass == 1 ? " pound" : " pounds"); return mass + (singular || mass == 1 ? " pound" : " pounds");
} else { } else {
let mass = round(lbs / 2000,1); let mass = round(lbs / 2000,1);
return mass + (singular || mass == 1 ? "ton" : " tons");
return mass + (singular || mass == 1 ? " ton" : " tons");
} }
} }




Loading…
Cancel
Save