halogenandtoast / alchemist

A scientific conversion library.
155 stars 28 forks source link

Multiplying and dividing units #6

Closed joshuapinter closed 11 years ago

joshuapinter commented 12 years ago

\ I merged this with the other branch I issued a pull request for. **

When multiplying or dividing units, this takes into account the operator being used (* or /) and takes into account the exponent and factors of each unit.

Added test case:

\ P.s. Thanks for creating this Gem, it's been hugely useful (and fun) to build off of. **