Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Collapse]Document Server
  Product Information
 [Expand]Redistribution and Deployment
 [Expand]Spreadsheet Document Server
 [Expand]XL Export Library
 [Expand]Rich Edit Document Server
 [Expand]Snap Document Server
 [Expand]PDF Document Processor
 [Expand]Compression Library
 [Expand]Bar Code Library
 [Collapse]Unit Conversion Library
   Getting Started
  [Expand]Examples
 [Expand]API Reference
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
[Expand]End-User Documentation

Unit Conversion Library

The Unit Conversion Library provides you with a set of extension methods for the System.Double data type. It enables you to easily perform conversions between different units of measurement and operate with quantity values (i.e., physical values expressed in units of measurement).

Important

The Unit Conversion Library requires the DevExpress.Docs.v17.1.dll assembly for operation and distribution. This assembly is shipped only with the DevExpress Document Server or the DevExpress Universal subscription.

Expanded Main Features

The supported units of measurement are listed in the following table.

Physical Quantity

Unit of Measurement

Area
  • AcreInternational
  • AcreStatute
  • Are
  • Hectare
  • Morgen
  • SquareAngstrom
  • SquareFoot
  • SquareInch
  • SquareLightYear
  • SquareMeter
  • SquareMile
  • SquareMileNautical
  • SquarePicaPoint
  • SquareYard
Distance
  • Angstrom
  • Ell
  • Inch
  • Foot
  • LightYear
  • Meter
  • MileNautical
  • MileStatute
  • MileUSSurvey
  • Parsec
  • Pica
  • PicaPoint
  • Yard
Energy
  • BritishThermalUnit
  • CalorieThermodynamic
  • CalorieIT
  • ElectronVolt
  • Erg
  • FootPound
  • HorsePowerHour
  • Joule
  • WattHour
Force
  • Dyne
  • Newton
  • Pond
  • Pound
Information
  • Bit
  • Byte
Magnetism
  • Tesla
  • Gauss
Mass
  • AtomicMassUnit
  • Gram
  • Grain
  • Hundredweight
  • HundredweightImperial
  • Ounce
  • Pound
  • Slug
  • Stone
  • Ton
  • TonImperial
Power
  • HorsePower
  • Watt
Pressure
  • Atmosphere
  • MmHg
  • Pascal
  • PoundPerSquareInch
  • Torr
Speed
  • Knot
  • KnotAdmiralty
  • MetersPerHour
  • MetersPerSecond
  • MilesPerHour
Temperature
  • Celcius
  • Fahrenheit
  • Kelvin
  • Rankine
  • Reaumur
Time
  • Day
  • Hour
  • Minute
  • Second
  • Year
Volume
  • Bushel
  • CubicAngstrom
  • CubicFoot
  • CubicInch
  • CubicLightYear
  • CubicMeter
  • CubicMile
  • CubicMileNautical
  • CubicPicaPoint
  • CubicYard
  • Cup
  • Gallon
  • GallonImperial
  • GrossRegisteredTon
  • Liter
  • MeasurementTon
  • OilBarrel
  • OunceFluid
  • Pint
  • PintImperial
  • Quart
  • QuartImperial
  • Tablespoon
  • Teaspoon
  • TeaspoonModern

Expanded Examples

How would you rate this topic?​​​​​​​