UnitConverters Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Static class with built-in unit converters.
public ref class UnitConverters abstract sealed
public static class UnitConverters
type UnitConverters = class
Public Class UnitConverters
- Inheritance
-
UnitConverters
Methods
AtmospheresToPascals(Double) |
Converts Atmospheres to Pascals. |
CelsiusToFahrenheit(Double) |
Converts temperatures from Celsius to Fahrenheit. |
CelsiusToKelvin(Double) |
Converts temperatures from Celsius to Kelvin. |
CoordinatesToKilometers(Double, Double, Double, Double) |
Calculates the distance between two coordinates in kilometers. |
CoordinatesToMiles(Double, Double, Double, Double) |
Calculates the distance between two coordinates in miles. |
DegreesPerSecondToHertz(Double) |
Converts degrees per second to hertz. |
DegreesPerSecondToRadiansPerSecond(Double) |
Converts degrees per second to radians per second. |
DegreesToRadians(Double) |
Converts degrees to radian. |
FahrenheitToCelsius(Double) |
Converts temperatures from Fahrenheit to Celsius. |
HectopascalsToKilopascals(Double) |
Converts Kilopascals to Hectopascals. |
HectopascalsToPascals(Double) |
Converts Hectopascals to Pascals. |
HertzToDegreesPerSecond(Double) |
Converts hertz to degrees per second. |
HertzToRadiansPerSecond(Double) |
Converts hertz to radians per second. |
InternationalFeetToMeters(Double) |
International survey foot defined as exactly 0.3048 meters by convention in 1959. This is the most common modern foot measure. |
KelvinToCelsius(Double) |
Converts temperatures from Kelvin to Celsius. |
KilogramsToPounds(Double) |
Converts kilograms to pounds. |
KilometersToMiles(Double) |
Converts distances from kilometers to miles. |
KilopascalsToHectopascals(Double) |
Converts Kilopascals to Hectopascals. |
KilopascalsToPascals(Double) |
Converts Kilopascals to Pascals. |
MetersToInternationalFeet(Double) |
International survey foot defined as exactly 0.3048 meters by convention in 1959. This is the most common modern foot measure. |
MetersToUSSurveyFeet(Double) |
Exactly 1200/3937 meters by definition. In decimal terms approximately 0.304 800 609 601 219 meters. Variation from the common international foot of exactly 0.3048 meters may only be considerable over large survey distances. |
MilesToKilometers(Double) |
Converts distances from miles to kilometers. |
MilesToMeters(Double) |
Converts distances from miles to meters. |
PascalsToAtmospheres(Double) |
Converts Pascals to Atmospheres. |
PoundsToKilograms(Double) |
Converts pounds to kilograms. |
PoundsToStones(Double) |
Converts pounds to stones. |
RadiansPerSecondToDegreesPerSecond(Double) |
Converts radians per second to degrees per second. |
RadiansPerSecondToHertz(Double) |
Converts radians per second to hertz. |
RadiansToDegrees(Double) |
Converts radians to degrees. |
StonesToPounds(Double) |
Converts stones to pounds. |
USSurveyFeetToMeters(Double) |
Exactly 1200/3937 meters by definition. In decimal terms approximately 0.304 800 609 601 219 meters. Variation from the common international foot of exactly 0.3048 meters may only be considerable over large survey distances. |