Comment on Using BigInteger and BigDecimal only?
TheCee@programming.dev 1 year agoInteresting. Is there a way to set a limit to the size of individual instances?
Comment on Using BigInteger and BigDecimal only?
TheCee@programming.dev 1 year agoInteresting. Is there a way to set a limit to the size of individual instances?
TauZero@mander.xyz 1 year ago
Give it a MathContext with the max precision that you want to allow.
TheCee@programming.dev 1 year ago
Thanks, that doesn’t sound so bad.