Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement metric Tonnes #31

Open
guedressel opened this issue Jan 12, 2024 · 1 comment
Open

Implement metric Tonnes #31

guedressel opened this issue Jan 12, 2024 · 1 comment

Comments

@guedressel
Copy link

Currently "ton" is implemented for the BI (imperial) system. For me as a central european it is common, to use "ton" (symbol "t") for 1,000kg (megagram).

Would be handy to be able to have a distict "Ton" unit for the metric system.
(And maybe also a diffentiation between long ton and short ton.)

As reference: https://en.wikipedia.org/wiki/Tonne

@bosix
Copy link
Contributor

bosix commented Feb 11, 2024

Hi :),
I would like to see all 3 "tons" implemented as well. Adding the convertion multipliers is simple but I'm struggling on naming things because "ton" is used for "metric ton", "short ton" and "long ton" depending on where you are. Also, we would add a breaking change because the symbol "t" is actually for the metric ton and not as currently set inside this library for the long ton. In a way, you could also see it as a bugfix since the current symbol is incorrect.

According to wikipedia (https://en.wikipedia.org/wiki/Tonne), I suggest the following:

  • 1 ton (t) = 1000 kg; alias "metric ton"
  • 1 long ton (tn. l.) = 1016.047 kg; alias "imperial ton" or "british ton"
  • 1 short ton (tn. sh.) = 907.18 kg; alias "amarican ton"

@bcicen what do you think about it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants