import { BigNumber } from "https://deno.land/x/web3@v0.11.1/types/bignumber.d.ts";
Returns a BigNumber whose value is the value of this BigNumber divided by n
, rounded
according to the current DECIMAL_PLACES
and ROUNDING_MODE
settings.
x = new BigNumber(355)
y = new BigNumber(113)
x.dividedBy(y) // '3.14159292035398230088'
x.dividedBy(5) // '71'
x.dividedBy(47, 16) // '5'