Conversion between grams and tonnes #3179
Unanswered
bennidhamma
asked this question in
Q&A
Replies: 1 comment 2 replies
-
You can use math.unit('907.18474 Mg').to('ton').toString() // "1000 ton"
math.evaluate('907.18474 Mg to ton').toString() // "1000 ton" |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there any easy way to convert / format between grams and tonnes? I am doing some formatting and getting 'Mg' instead of 't' as a prefix, and having to go through some contortions to get the grams to convert into tonnes (and then once I do that, subsequent formats are also odd, like something in kg is then formatted as being mt, which is not what I want...)
Beta Was this translation helpful? Give feedback.
All reactions