瀏覽代碼

Fixed missing space for singular customary tons

tags/v0.7.0
Fen Dweller 7 年之前
父節點
當前提交
ca0f3f952a
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      units.js

+ 1
- 1
units.js 查看文件

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



Loading…
取消
儲存