forked from tornadocash/classic-ui
7 lines
169 B
JavaScript
7 lines
169 B
JavaScript
import { BigNumber as BN } from 'bignumber.js'
|
|
|
|
// return the number of decimal places of the value
|
|
export function decimalPlaces(value) {
|
|
return new BN(value).dp()
|
|
}
|