MIST converter
From DCS World Wiki - Hoggitworld.com
mist.utils.converter
Added with: Mist 4.4 | ||||||||
Description | ||||||||
Converts the specified value from the first variable into the second variable. Accepts measurements for Speed, Distance, Pressure, and Temperature. Function is intended to offer greater flexibility for converting values between different formats. | ||||||||
Syntax | ||||||||
number mist.utils.converter(string from ,string to ,number value ) | ||||||||
Valid Input Values: | ||||||||
All values are string based. Some have multiple spellings and formats available.
| ||||||||
Return value: | ||||||||
number | ||||||||
Return example: | ||||||||
Usage Examples: | ||||||||
mist.converter('f', 'c', 32) | ||||||||
Notes: | ||||||||
Function can also be called directly via mist.converter()
See Google Unit converter. [1] | ||||||||
Related Functions | ||||||||
converter, toDegree, toRadian, round, roundTbl, metersToNM, metersToFeet, NMToMeters, feetToMeters, mpsToKnots, mpsToKmph, knotsToMps, kmphToMps, kelvinToCelsius, FahrenheitToCelsius, celsiusToFahrenheit, hexToRGB |