Mathematica Asked on June 27, 2021
Consider some calculation yielding Quantity[x,"B"]
as output ("B" interpreted as byte).
y
in x<2^(10 y)
, is there some inbuilt way of doing this?Consider now the quantity Quantity[x,"s"]
. ("s" interpreted as second).
Depending on x, the human readable unit may be micro seconds to days. This again has the same solution structure as the file-size case mentioned earlier. Only the base unit is different.
Quantity
s too, one needs to know whether the input arg is of "data" category or "time" category. Are there meta categories for units in Mathematica? e.g. "KB,MB,GB,TB"->data,I did try CommonUnits
, but it didn’t work.
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP