Skip to content

GetMetricFactor

mtbeek32 edited this page Jan 2, 2023 · 4 revisions

Unit functions GetMetricFactor

syntax

  • GetMetricFactor(valuesunit)

definition

GetMetricFactor(valuesunit) results in a float64 data item with the factor in the metric of the valuesunit argument.

applies to

since version

5.44

example

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

result: MetricFactor = 0.0001

see also

Clone this wiki locally