Convert
Convert[ Quantity[ expr, unit1], unit2 ]
Convert[ Quantity[ expr, unit1], unit2 ] converts a quantity expression expr from unit1 to unit2. The quantity expression should be in the form Quantity[ expr, unit ]. You commonly use it to instruct the student to convert a given amount to a different measurement unit.
Note
Both units must be units supported by Algebrakit.
| Example | in | rendered | reduced |
|---|---|---|---|
30 meter to centimeter. |
Convert[ Quantity[ 30, 'm'], 'cm' ] |
30 m |
Quantity[ 30000, 'cm' ] |