Skip to content
docs

unitsToDecimal

unitsToDecimal(units, decimals): string

Defined in: protocol-swap2-layerswap/src/api.ts:121

Base units → an exact decimal literal (“1.5”, “0.000001”, “25”); never exponent notation.

bigint

number

string