Open mikekap opened 4 years ago
round in various other settings accepts negative decimal places for rounding left of the decimal point. e.g.
round
new BigNumber('1234.5').decimalPlaces(0) => 1235.0 new BigNumber('1234.5').decimalPlaces(-1) => 1230.0
Would you consider a patch to let bignumber.js do this?
Yes, I would consider it. It would need to be minimal and use ES3 syntax only.
round
in various other settings accepts negative decimal places for rounding left of the decimal point. e.g.Would you consider a patch to let bignumber.js do this?