Difference between revisions of "MIST converter"
From DCS World Wiki - Hoggitworld.com
(Created page with "{{Mission Scripting |fName= mist.utils.converter |vNum = Mist 4.4 |desc= Converts the specified value from the first variable into the second variable. Accepts measurements...") |
(No difference)
|
Latest revision as of 08:25, 13 April 2018
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 |