Top "Bigdecimal" questions

BigDecimal is a numeric object type in Java that represents decimal numbers with arbitrary precision.

Raising a decimal to a power of decimal?

The .net framework provides in the Math class a method for powering double. But by precision requirement I need to …

c# bigdecimal decimal
Scala and Java BigDecimal

I want to switch from Java to a scripting language for the Math based modules in my app. This is …

java math scala groovy bigdecimal
ArithmeticException thrown during BigDecimal.divide

I thought java.math.BigDecimal is supposed to be The Answer™ to the need of performing infinite precision arithmetic with …

java precision division bigdecimal financial
Java's Bigdecimal.divide and rounding

At work, we found a problem when trying to divide a large number by 1000. This number came from the database. …

java bigdecimal
round BigDecimal to nearest 5 cents

I'm trying to figure out how to round a monetary amount upwards to the nearest 5 cents. The following shows my …

java rounding bigdecimal
Change DecimalFormat locale

I have custom DecimalFormat in Edittext's addTextChangedListener method, everything is working perfectly but when I change language (locale) my addTextChangedListener …

java android bigdecimal decimalformat
What are the best (portable) cross-platform arbitrary-precision math libraries?

I’m looking for a good arbitrary precision math library in C or C++. Could you please give me some …

c++ c biginteger bigdecimal gmp
Is there a C++ equivalent to Java's BigDecimal?

I'm looking for a C++ class that can do decimal floating point arithmetic. Looking through http://speleotrove.com/decimal/ there …

c++ bigdecimal
How to do a fractional power on BigDecimal in Java?

In my little project, I need to do something like Math.pow(7777.66, 5555.44) only with VERY big numbers. I came across …

java formula bigdecimal pow
Testing if a BigDecimal value is zero in a JSP EL Expression

The following does not always behave as you would expect: <c:if test="${someBigDecimal == 0}"> If someBigDecimal has a …

java jsp el bigdecimal