WOLFRAM

Enable JavaScript to interact with content and submit forms on Wolfram websites. Learn how
Wolfram Language & System Documentation Center

QuantityUnit [quantity]

returns the unit associated with the specified quantity.

Details
Details and Options Details and Options
Examples  
Basic Examples  
Scope  
Properties & Relations  
See Also
Tech Notes
Related Guides
History
Cite this Page

QuantityUnit [quantity]

returns the unit associated with the specified quantity.

Details

Examples

open all close all

Basic 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:

Tech Notes

Wolfram Research (2012), QuantityUnit, Wolfram Language function, https://reference.wolfram.com/language/ref/QuantityUnit.html.

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

BibTeX

@misc{reference.wolfram_2025_quantityunit, author="Wolfram Research", title="{QuantityUnit}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/QuantityUnit.html}", note=[Accessed: 16-November-2025]}

BibLaTeX

@online{reference.wolfram_2025_quantityunit, organization={Wolfram Research}, title={QuantityUnit}, year={2012}, url={https://reference.wolfram.com/language/ref/QuantityUnit.html}, note=[Accessed: 16-November-2025]}

Top [フレーム]

AltStyle によって変換されたページ (->オリジナル) /