Documentation
    Preparing search index...

    Function unitSymbol

    • The display symbol for one quantity under this system.

      Returns "" for a "custom" length or mass: §40's record selects "custom" but carries no field naming it, so the engine has no name to print and will not invent one. An application with a custom unit knows what it is called and supplies the label itself.

      Parameters

      Returns string

      "m", "cm", "mm", "kg", "g", "s", "ms", "rad", "°", or ""