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.div(y) // '3.14159292035398230088'
x.div(5) // '71'
x.div(47, 16) // '5'