- Preparing search index...
- The search index is not available
handle-sdk
Function transformDecimals
- transformDecimals(value, fromDecimals, toDecimals): BigNumber
-
Parameters
-
value: BigNumber
-
fromDecimals: number
-
toDecimals: number
Returns BigNumber
the transformed value
Adjusts a BigNumber by the difference between the current and desired decimals