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

Rename mass concentration kind to density #66

Closed glepretre closed 8 years ago

glepretre commented 8 years ago

In english, and in chemistry, "mass concentration" does refer to <mass>/<volume> but the term seems to be used only for mixtures.

"Density" in the common scientific language, refers to the volumetric mass density of a pure substance.

It is unfortunately impossible with the diamensional analysis only to know the quantity context, but for english native people, "density" should be better understood.

This explanation could explain why this kind has been renamed in ruby-units by https://github.com/olbrich/ruby-units/commit/0915620b7815302b50d73c77e4ab34ee5d7612b2.

Sources: https://en.wikipedia.org/wiki/Density https://en.wikipedia.org/wiki/Mass_concentration_(chemistry)

gentooboontoo commented 8 years ago

Merged by rebasing. Thanks.