Documentation
    Preparing search index...

    Function formatMass

    • Formats an engine mass for display.

      Parameters

      • worldMass: number

        the engine value

      • units: UnitSystem

        the declared system

      • OptionalfractionDigits: number

        forwarded to Number.prototype.toFixed

      Returns string

      e.g. "2.50 kg"