torque-pro-assistant - v1.0.0
    Preparing search index...

    Function formatTemperature

    • Format a temperature for display in the active units mode. Stored values are in °F; converts to °C under metric using the standard affine transform.

      Parameters

      • fahrenheit: number

        Temperature in °F.

      • units: UnitsPreference

        Active units preference.

      • decimals: number = 0

        Decimals after the point. Defaults to 0.

      Returns string

      A pre-formatted temperature string like "205 °F" or "96 °C".