Message Boards Message Boards

GROUPS:

Avoid issue while calculating with units?

Posted 2 years ago
2037 Views
|
3 Replies
|
1 Total Likes
|

(in)

UnitConvert[Quantity[2.6, "Hours"], "Minutes"]

(out)

UnitConvert[QuantityUnits`Private`ToQuantity[QuantityUnits`Private`UnknownQuantity[2.6, "Hours"]], "Minutes"]    

I do not understand this output an I cannot find an answer anywhere in the documentation. Any help will be greatly appreciated.

3 Replies
Posted 2 years ago

Hi Fred,

This works fine for me

UnitConvert[Quantity[2.6, "Hours"], "Minutes"]
(* Quantity[156., "Minutes"] *)

on "12.0.0 for Mac OS X x86 (64-bit) (April 7, 2019)". What version are you running?

Posted 2 years ago

That works for me now, too. All the calculations with units work for me now, but they didn't yesterday. Not sure why.

Posted 2 years ago

And much thanks for your answer.

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract