BigDecimal is a numeric object type in Java that represents decimal numbers with arbitrary precision.
Why does this code sometimes return 1E+1 whilst for other inputs (e.g. 17) the output is not printed in scientific …
java floating-point bigdecimalMy Java program is centered around high precision calculations, which need to be accurate to at least 120 decimal places. Consequentially, …
java math rounding bigdecimal floating-accuracyI know variants of this question have been asked frequently before (see here and here for instance), but this is …
java numbers bigdecimal string-parsingI'm wanting to take the following method: public BigDecimal mean(List<BigDecimal> bigDecimals, RoundingMode roundingMode) { BigDecimal sum = BigDecimal.…
java collections java-8 bigdecimal java-streamThis is not a question about how to compare two BigDecimal objects - I know that you can use compareTo …
java bigdecimalI wanted to know how I can generate pi to the nth digit. I have a couple of basic ideas. …
java precision bigdecimal piMy java code is running on HP-UX hpdev B.11.23 U ia64 and sometimes it will produce the following exception: java.…
java bigdecimal arithmeticexceptionIs there a guideline for estimating the amount of memory consumed by a BigDecimal? Looking for something similar to these …
java memory memory-management bigdecimalI'm trying to specify the precision of a BigDecimal value with the following: new BigDecimal(12.99).setScale(2, BigDecimal.ROUND_HALF_EVEN. …
java enums deprecated bigdecimal deprecation-warningIs there a mature library for doing decimal-based math, possibly arbitrary-precision, in JavaScript? Edit: I want this information for a …
javascript decimal bigdecimal