Format a raw volume value to cubic meters (m³).
Converts from the on-chain representation (wei-like, 10^18) to m³.
The raw volume value as string or bigint
Volume in cubic meters
const m3 = formatM3(BigInt("1000000000000000000")); // 1.0 m³ Copy
const m3 = formatM3(BigInt("1000000000000000000")); // 1.0 m³
Format a raw volume value to cubic meters (m³).
Converts from the on-chain representation (wei-like, 10^18) to m³.