• Format an OS amount as a human-readable DEM string with a unit suffix.

    Useful for log lines, error messages, and UI display.

    Parameters

    • os: bigint

      OS amount as bigint.

    Returns string

    Human-readable DEM string with " DEM" suffix.

    formatDem(1_000_000_000n) // => "1.0 DEM"