Message Boards Message Boards

GROUPS:

Avoid issue while calculating with units?

Posted 1 year ago
1922 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

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 1 year 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 1 year 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