GetMetricFactor

Unit functions GetMetricFactor

syntax

  • GetMetricFactor(values unit)

definition

GetMetricFactor(values unit) results in a float64 Data item with the factor in the Metric of the Values unit Argument.

applies to

  • argument values unit with Numeric or Point Value type

since version

5.44

example

unit<float32>      ha           := 10000.0 * m * m;
unit<float32>      per_ha       := 1.0 / ha;
parameter<float64> MetricFactor := GetMetricFactor(per_ha);

result: MetricFactor = 0.0001

see also