Logo GenPRES

ValueUnit Module

Converts between a ValueUnit and a number with a unit of measure, and calculates the body surface area from a weight and a height ValueUnit.

Nested modules

Modules Description

Calculations

Runs a calculation on two numbers with units of measure for every pair of values from two ValueUnits. Returns an error when a ValueUnit cannot be converted.

Measures

Converts a height, weight or time ValueUnit to numbers with a unit of measure and back, and converts a body surface area in m2 to a ValueUnit. Returns an error for a ValueUnit of another unit group, except the function toSingleIntDay, which raises an ArgumentException for a ValueUnit that is not a time.

Type something to start searching.