You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This prints an answer in these units: m^2 kg^1 s^-3 or, as I normally think about it, watts.
I can't figure out, for the life of me, how to get the answer into actual watts in uom (or even what the correct watts is). I can see that uom a really comprehensive and useful library but, as a newbie to rust and the library, it is daunting with a few examples and no tutorial.
I have this function:
This prints an answer in these units:
m^2 kg^1 s^-3
or, as I normally think about it, watts.I can't figure out, for the life of me, how to get the answer into actual watts in
uom
(or even what the correctwatts
is). I can see that uom a really comprehensive and useful library but, as a newbie to rust and the library, it is daunting with a few examples and no tutorial.This doesn't work:
Which tells me that I am doing the conversion wrongly.
The text was updated successfully, but these errors were encountered: