gentooboontoo / js-quantities

JavaScript library for quantity calculation and unit conversion
http://gentooboontoo.github.io/js-quantities/
MIT License
396 stars 102 forks source link

kilo is the only prefix without upper case #89

Open bragma opened 6 years ago

bragma commented 6 years ago

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!

rage-shadowman commented 6 years ago

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