ferraridamiano / units_converter

Pure Dart package to easily convert units of mesurement, numeral systems and custom units.
https://pub.dev/packages/units_converter
MIT License
29 stars 15 forks source link

Adding hPa (hectopascal) and inHg (inch of mercury) to PRESSURE #6

Closed rquttaineh closed 3 years ago

rquttaineh commented 3 years ago

Hi There, Those units are very important for aviation, can you please add them.

Thank you for this great plugin :)

ferraridamiano commented 3 years ago

Fixed! I'm not going to release a new version on pub.dev soon. If you need this conversions just add the following to your pubspec.yaml.

units_converter:
  git:
    url: https://github.com/ferraridamiano/units_converter/tree/d860e9a791a1251a9c32c31cae48b5bcbd52370a
rquttaineh commented 3 years ago

Thank you very much for your fast response 👍

rquttaineh commented 3 years ago

just a little issue, every (1) inHg should be (33.86388666666671) hPa, you can use this link to check the formula https://www.convertunits.com/from/hpa/to/inhg

ferraridamiano commented 3 years ago

Woooops. I'm so sorry! Just fixed it, thanks!

units_converter:
  git:
    url: https://github.com/ferraridamiano/units_converter/tree/7ee378369a75b67e2480eb863850276bb0e83da3
rquttaineh commented 3 years ago

Thank you :)