Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
Hi,
I have a variable which is x = 30 bar, I need to use this number without the unit, i.e. I would like Mathcad to look at x = 30 only with out units, Is there a way to do so?
Regards,
HN
Solved! Go to Solution.
Temperature can be a bit tricky in Mathcad. This blog helps:
http://blogs.ptc.com/2012/12/20/the-trickiness-of-temperature-units/
'UnitsOf' will return the result in Kelvins.
And what if the unit is Temperature?
i.e
y = 30°C
and I would like to use y = 30.
HN
y = 30°C
y:=y/K-273.15
y=30
x = 30 bar
x:=x/bar
x=30
And what if the unit is Temperature?
Thats more critical but Valery already showed how to do.
For SI units, the SIUnitsOf (or UnitsOf) function can be handy:
Thank you, this function is new to me, however It does work for pressure, but it doesn't work with temperature:(
Temperature can be a bit tricky in Mathcad. This blog helps:
http://blogs.ptc.com/2012/12/20/the-trickiness-of-temperature-units/
'UnitsOf' will return the result in Kelvins.
See one real task - air density: