Quantity
Quantity
Quantity[ expr, unit] represents the value with a unit (e.g. meters, euros, minutes).
Usages
Quantity[ expr, unit]
Quantity[ expr, unit] represents the value expr with unit unit. The unit has to be within single quotes.
| Example | in | rendered |
|---|---|---|
The quantity € 2.40. |
Quantity[2.4, '€'] |
€ 2.40 |
Quantity[ Text[ text ], unit ]
text ], unit ]Quantity[ Text[ represents the text text ], unit ]text with unit unit. The unit has to be within single quotes.
| Example | in | rendered |
|---|---|---|
Write your answer in the form of € amount. |
Quantity[ Text[ |
€ amount |