CONVERT
Description
Converts a number from 1 unit of measurement to another.
Syntax
CONVERT(
number
,
from_unit
,
to_unit
)
- number: The number to convert.
- from_unit: The current units value for the number. The value is case-sensitive.
- to_unit: The units to convert the number to. The value is case-sensitive.
Notes
- Valid units values are from the base library javax.measure.unit.Dimension.
- This function is similar to SETUNITS(), but SETUNITS() expects the number to have an existing units value.