Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

MetricUnitsConverter Class

Converts a value from one metric prefix multiplier to another.

Namespace: DevExpress.UnitConversion

Assembly: DevExpress.Docs.v19.1.dll

Declaration

public class MetricUnitsConverter :
    PrefixUnitsConverter<MetricPrefix>

Remarks

Use the PrefixUnitsConverter<T>.Convert method to perform the conversion.

To calculate the value of femto , use the following code:


double result = Units.Metric.Convert(1.0f, MetricPrefix.Femto, MetricPrefix.None);

Inheritance

See Also