Format a chain-integer quantity to a human-readable number.
The market definition (provides base decimals).
The quantity as a chain integer (bigint).
The human-readable quantity as a number.
Format a chain-integer quantity to a human-readable number.