ConversionFamily.convert

Converts a given value from in unit to out unit

  1. LinearFunction convert(string inUnit, string outUnit)
  2. double convert(double value, string inUnit, string outUnit)
    class ConversionFamily
    const
    double
    convert
    (
    double value
    ,
    string inUnit
    ,
    string outUnit
    )

Parameters

value double

value to convert

inUnit string

unit to convert from

outUnit string

unit to convert to

Return Value

Type: double

value converted to

Meta