Format an OS amount as a human-readable DEM string with a unit suffix.
Useful for log lines, error messages, and UI display.
OS amount as bigint.
bigint
Human-readable DEM string with " DEM" suffix.
formatDem(1_000_000_000n) // => "1.0 DEM" Copy
formatDem(1_000_000_000n) // => "1.0 DEM"
Format an OS amount as a human-readable DEM string with a unit suffix.
Useful for log lines, error messages, and UI display.