BUILT-IN WOLFRAM LANGUAGE SYMBOL

QuantityThread

QuantityThread[quantity]
threads the unit of quantity through all levels of its magnitude.

QuantityThread[quantity,n]
threads the unit to depth n.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Thread units for a quantity array through all levels of the expression:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Thread units only through level one of a quantity array:

In[3]:=
Click for copyable input
Out[3]=
Introduced in 2014
(10.0)