KarolS / units

Flexible, statically-checked experimental library for units of measurement
MIT License
24 stars 2 forks source link

Constants were corrected for metric prefixes in the numeric units builder #10

Closed buzden closed 7 years ago

buzden commented 7 years ago

In io.github.karols.units.WithUBuilder it seems that all of deca[U], deck[U], hecto[U], hekto[U], kilo[U], mega[U] and giga[U] are implemented as for deca[U], i.e. multiplied with 10, not 100 for hecto, 1000 for kilo and etc. The correction is proposed.

KarolS commented 7 years ago

Thanks for the report.

Actually I've noticed the same few days ago and it will be fixed in the next version pretty soon.

KarolS commented 7 years ago

Fixed in 0.2.2.