UnitConverters
Wisej.Hybrid.Shared.Converters.UnitConverters
Last updated
Wisej.Hybrid.Shared.Converters.UnitConverters
Last updated
Namespace: Wisej.Hybrid.Shared.Converters
Assembly: Wisej.Hybrid (3.5.0.0)
Static class with built-in unit converters.
Converts Atmospheres to Pascals.
atm
The value in Atmospheres convert.
Returns: Double. The value from atm in Pascals.
Converts temperatures from Celsius to Fahrenheit.
celsius
The value in Celcius to convert.
Returns: Double. The value from celsius in degrees Fahrenheit.
Converts temperatures from Celsius to Kelvin.
celsius
The value in Celcius to convert.
Returns: Double. The value from celsius in degrees Kelvin.
Calculates the distance between two coordinates in kilometers.
lat1
First latitude.
lon1
First longitude.
lat2
Second latitude.
lon2
Second longitude.
Returns: Double. The distance in kilometers.
Calculates the distance between two coordinates in miles.
lat1
First latitude.
lon1
First longitude.
lat2
Second latitude.
lon2
Second longitude.
Returns: Double. The distance in miles.
Converts degrees per second to hertz.
degrees
The value in degrees per second to convert.
Returns: Double. The value from degrees in hertz.
Converts degrees per second to radians per second.
degrees
The value in degrees per second to convert.
Returns: Double. The value from degrees in radians per second.
Converts degrees to radian.
degrees
The value in degrees to convert.
Returns: Double. The value from degrees in radian.
Converts temperatures from Fahrenheit to Celsius.
fahrenheit
The value in Fahrenheit to convert.
Returns: Double. The value from fahrenheit in degrees Celsius.
Converts Kilopascals to Hectopascals.
hpa
The value in Hectopascals convert.
Returns: Double. The value from hpa in Kilopascals.
Converts Hectopascals to Pascals.
hpa
The value in Hectopascals convert.
Returns: Double. The value from hpa in Pascals.
Converts hertz to degrees per second.
hertz
The value in degrees per second to convert.
Returns: Double. The value from hertz in degrees per second.
Converts hertz to radians per second.
hertz
The value in radians per second to convert.
Returns: Double. The value from hertz in radians per second.
International survey foot defined as exactly 0.3048 meters by convention in 1959. This is the most common modern foot measure.
internationalFeet
Returns: Double.
Converts temperatures from Kelvin to Celsius.
kelvin
The value in Kelvin to convert.
Returns: Double. The value from kelvin in degrees Celcius.
Converts kilograms to pounds.
kilograms
The value in kilograms to convert.
Returns: Double. The value from kilograms in pounds.
Converts distances from kilometers to miles.
kilometers
The value in kilometers to convert.
Returns: Double. The value from kilometers in miles.
Converts Kilopascals to Hectopascals.
kpa
The value in Kilopascals convert.
Returns: Double. The value from kpa in Hectopascals.
Converts Kilopascals to Pascals.
kpa
The value in Kilopascals convert.
Returns: Double. The value from kpa in Pascals.
International survey foot defined as exactly 0.3048 meters by convention in 1959. This is the most common modern foot measure.
meters
Returns: 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.
meters
Returns: Double.
Converts distances from miles to kilometers.
miles
The value in miles to convert.
Returns: Double. The value from miles in kilometers.
Converts distances from miles to meters.
miles
The value in miles to convert.
Returns: Double. The value from miles in meters.
Converts Pascals to Atmospheres.
pascals
The value in Pascals convert.
Returns: Double. The value from pascals in Atmospheres.
Converts pounds to kilograms.
pounds
The value in pounds to convert.
Returns: Double. The value from pounds in kilograms.
Converts pounds to stones.
pounds
The value in pounds to convert.
Returns: Double. The value from pounds in stones.
Converts radians per second to degrees per second.
radians
The value in radians per second to convert.
Returns: Double. The value from radians in degrees per second.
Converts radians per second to hertz.
radians
The value in radians per second to convert.
Returns: Double. The value from radians in hertz.
Converts radians to degrees.
radians
The value in radians to convert.
Returns: Double. The value from radians in degrees.
Converts stones to pounds.
stones
The value in stones to convert.
Returns: Double. The value from stones in pounds.
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.
usFeet
Returns: Double.