MixedUnit
✖
MixedUnit
represents a mixed-unit expression consisting of units unit1 through unitn.
Details

- MixedUnit is typically used in conjunction with MixedMagnitude in Quantity expressions.
- The uniti in MixedUnit[{unit1,…,unitn}] must have identical unit dimensions.
Examples
open allclose allBasic Examples (2)Summary of the most common use cases
Represent the mixed quantity 1 foot, 2 inches:

https://wolfram.com/xid/0dquavclo16-h59go7

Use it in Quantity operations:

https://wolfram.com/xid/0dquavclo16-7ooj5n

MixedUnit can be used as a target unit specification in functions like UnitConvert:

https://wolfram.com/xid/0dquavclo16-g4ajcb

Scope (2)Survey of the scope of standard use cases
MixedUnit can be used in conjunction with MixedMagnitude in Quantity expressions:

https://wolfram.com/xid/0dquavclo16-wbzhl

MixedUnit can be used in conjunction with MixedMagnitude in QuantityArray expressions:

https://wolfram.com/xid/0dquavclo16-bj2klc

Properties & Relations (9)Properties of the function, and connections to other functions
Additions of Quantity expressions involving MixedMagnitude and MixedUnit specifications automatically convert some of them:

https://wolfram.com/xid/0dquavclo16-qbk6dq


https://wolfram.com/xid/0dquavclo16-dazazn


https://wolfram.com/xid/0dquavclo16-e10t9r

QuantityDistribution automatically converts mixed Quantity expressions to non-mixed Quantity expressions:

https://wolfram.com/xid/0dquavclo16-ixwn0o


https://wolfram.com/xid/0dquavclo16-2i77e


https://wolfram.com/xid/0dquavclo16-i4d08

MixedUnit specifications can be extracted using QuantityUnit:

https://wolfram.com/xid/0dquavclo16-cvef8p


https://wolfram.com/xid/0dquavclo16-kfyhjj

KnownUnitQ returns True for valid MixedUnit specifications:

https://wolfram.com/xid/0dquavclo16-ezatm

It returns False for invalid MixedUnit specifications:

https://wolfram.com/xid/0dquavclo16-kslsn4

CompatibleUnitQ returns True for MixedUnit specifications having identical unit dimensions:

https://wolfram.com/xid/0dquavclo16-l8np6


https://wolfram.com/xid/0dquavclo16-gr16g2

It returns False for MixedUnit specifications having different unit dimensions:

https://wolfram.com/xid/0dquavclo16-c85bkd


https://wolfram.com/xid/0dquavclo16-h9rlc2

Use UnitConvert to convert mixed Quantity expressions to non-mixed Quantity expressions:

https://wolfram.com/xid/0dquavclo16-oy2sdr


https://wolfram.com/xid/0dquavclo16-jkwgr


https://wolfram.com/xid/0dquavclo16-f0v68u


https://wolfram.com/xid/0dquavclo16-64k36


https://wolfram.com/xid/0dquavclo16-chc8ka

Reproduce the results of DMSList:

https://wolfram.com/xid/0dquavclo16-ndrmz5


https://wolfram.com/xid/0dquavclo16-kv0naz

Conversion into mixed units effectively performs a NumberDecompose operation:

https://wolfram.com/xid/0dquavclo16-kbl7rw


https://wolfram.com/xid/0dquavclo16-zzm7a9

Wolfram Research (2016), MixedUnit, Wolfram Language function, https://reference.wolfram.com/language/ref/MixedUnit.html.
Text
Wolfram Research (2016), MixedUnit, Wolfram Language function, https://reference.wolfram.com/language/ref/MixedUnit.html.
Wolfram Research (2016), MixedUnit, Wolfram Language function, https://reference.wolfram.com/language/ref/MixedUnit.html.
CMS
Wolfram Language. 2016. "MixedUnit." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MixedUnit.html.
Wolfram Language. 2016. "MixedUnit." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MixedUnit.html.
APA
Wolfram Language. (2016). MixedUnit. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MixedUnit.html
Wolfram Language. (2016). MixedUnit. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MixedUnit.html
BibTeX
@misc{reference.wolfram_2025_mixedunit, author="Wolfram Research", title="{MixedUnit}", year="2016", howpublished="\url{https://reference.wolfram.com/language/ref/MixedUnit.html}", note=[Accessed: 30-May-2025
]}
BibLaTeX
@online{reference.wolfram_2025_mixedunit, organization={Wolfram Research}, title={MixedUnit}, year={2016}, url={https://reference.wolfram.com/language/ref/MixedUnit.html}, note=[Accessed: 30-May-2025
]}