js-quantities icon indicating copy to clipboard operation
js-quantities copied to clipboard

kilo is the only prefix without upper case

Open bragma opened this issue 8 years ago • 1 comments

Hi, I was about to use Qty("1Kg") but got an "unit not recognized" error. All other prefixes work both with upper and lower case letter (ex: 1Cm == 1cm). I've noticed in the code here that kilo is the only prefix missing upper case definition. Is this a mistake? Thanks!

bragma avatar Sep 27 '17 12:09 bragma

In the words of Senior Montoya...

I do not think that means what you think it means.

I believe that 1Cm == 1 coulomb meter, not 1 centimeter

rage-shadowman avatar Oct 26 '17 22:10 rage-shadowman