Get a value and unit code as a QuantitativeValue, if it isn't already in that format.
A new QuantitativeValue or the value as-is if it already was a QuantitativeValue.
The value, or existing QuantitativeValue.
The unit code.
Generated using TypeDoc
Get a value and unit code as a QuantitativeValue, if it isn't already in that format.
Returns
A new QuantitativeValue or the value as-is if it already was a QuantitativeValue.