Format a chain-integer price to a human-readable number.
The market definition (provides quote decimals).
The price as a chain integer (bigint).
The human-readable price as a number.
const price = formatPrice(market, 25000000000n); // e.g., 25.0 Copy
const price = formatPrice(market, 25000000000n); // e.g., 25.0
Format a chain-integer price to a human-readable number.