QuantityUnit
QuantityUnit[quantity]
returns the unit associated with the specified quantity.
Details
- QuantityUnit returns the unit from Quantity[magnitude,unit].
- QuantityUnit accepts TimeSeries, EventSeries, and TemporalData inputs.
Examples
open allclose allBasic Examples (1)
Give the unit part of a Quantity:
Scope (4)
Get the units from Quantity expressions in a time series:
QuantityUnit returns the unit specification of a QuantityDistribution:
QuantityUnit accepts structured arrays like QuantityArray and SymmetrizedArray objects:
QuantityUnit accepts SparseArray and Association objects:
Properties & Relations (4)
QuantityUnit operates on lists of quantities:
QuantityUnit returns "DimensionlessUnit" for NumericQ arguments:
QuantityUnit returns the MixedUnit specification of a mixed Quantity:
QuantityUnit always returns a unit string in its canonical form:
Text
Wolfram Research (2012), QuantityUnit, Wolfram Language function, https://reference.wolfram.com/language/ref/QuantityUnit.html.
CMS
Wolfram Language. 2012. "QuantityUnit." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/QuantityUnit.html.
APA
Wolfram Language. (2012). QuantityUnit. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/QuantityUnit.html