safeFloatConvert(rawAmount: BN, decimals: number): number
Remarks
because BN does not handle floating point, and the numbers from ethereum
might be too large for JS to handle, we'll use string manipulation to move
the decimal point. After this operation, the number should be safely in JS's
territory.
Remarks
because BN does not handle floating point, and the numbers from ethereum might be too large for JS to handle, we'll use string manipulation to move the decimal point. After this operation, the number should be safely in JS's territory.