Contents

init(coefficient:constant:)

Creates a unit converter with the coefficient and constant you specify.

Declaration

init(coefficient: Double, constant: Double)

Parameters

  • coefficient:

    The coefficient used in the linear unit conversion calculation.

  • constant:

    The constant used in the linear unit conversion calculation.

See Also

Creating Unit Converters