prints expr with all Quantity expressions using the specified unit display form form.


prints expr using the appropriate combination of the specified unit display forms forms.


  • The following unit display forms can be specified: "Abbreviation", "LongForm".
  • "SingularForm" can be included as a display form specification to force "LongForm" descriptions to their singular tense.
  • If expr is a canonical unit, QuantityForm will print with the specified form of the unit.
  • QuantityForm acts as a "wrapper", which affects printing, but not evaluation.


open allclose all

Basic Examples  (2)

Display a quantity using its "LongForm" description:

Display quantities with multiple unit form specifications:

Scope  (5)

QuantityForm acts on all Quantity objects in an expression:

Possible display forms are "Abbreviation" and "LongForm":

"LongForm" descriptions will select singular/plural tenses based on the value of each Quantity:

"SingularForm" can be used with "LongForm" to force unit descriptions to be in singular tense:

If the first argument is a canonical unit, QuantityForm will print with the specified form of the unit:

QuantityForm works with MixedUnit specifications:

Applications  (1)

Add custom axis labels to a plot:

Properties & Relations  (3)

For units without abbreviated form, "Abbreviation" is equivalent to "LongForm":

IndependentUnit specifications do not have special unit display forms:

"Abbreviation" and "LongForm" can be specified together:

Possible Issues  (1)

The first argument of QuantityForm should be a canonical unit, or an expression containing Quantity:

Introduced in 2012