GetMetricFactor - ObjectVision/GeoDMS GitHub Wiki

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

⚠️ **GitHub.com Fallback** ⚠️