Skip to main content
A newer version of this page is available. .

ForceUnitsConverter Class

Converts force measurement from one unit to another.

Namespace: DevExpress.UnitConversion

Assembly: DevExpress.Docs.v18.2.dll

Declaration

public class ForceUnitsConverter :
    BaseUnitsConverter<Force>

The following members return ForceUnitsConverter objects:

Remarks

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

To convert 100 pound-force to Newtons, use the following code:


double result = Units.Force.Convert(100.0f, Force.Lbf, Force.Newton);

Inheritance

Object
BaseUnitsConverter<Force>
ForceUnitsConverter
See Also