bigdecimal
BigDecimal, division & MathContext - very strange behaviour
CentOs 5.4, OpenJDKRuntime Environment (build 1.6.0开发者_JAVA百科-b09) MathContext context = new MathContext(2, RoundingMode.FLOOR);[详细]
2022-12-24 03:31 分类:问答Java BigDecimal memory usage?
Is t开发者_如何学Pythonhere a guideline for estimating the amount of memory consumed by a BigDecimal?[详细]
2022-12-23 17:23 分类:问答How to use BigDecimal in swing GUIs?
I\'m using BigDecimal to represent product prices in a Java SE application. What swing componen开发者_如何学Pythont(s) should I use in order to allow the user to input numbers with only two decimal p[详细]
2022-12-23 15:08 分类:问答Meaning of bandwidth in CUDA and why it is important
The CUDA programming guide states that \"Bandwidth is one of the most important gating factors for performance. Almost all changes to code should be made in the context of how they affect bandwidth[详细]
2022-12-21 19:22 分类:问答The Java BigDecimal vs The Financial Mans - "The 1 cent problem"
I have this problem: The financial mans says: \"Error of your programation\". The official table of values and final calc from financial is[详细]
2022-12-19 12:44 分类:问答Java BigDecimal trigonometric methods
I am developing a mathematical parser which is able to evaluate String like \'5+开发者_如何学编程b*sqrt(c^2)\'. I am using ANTLR for the parsing and make good progress. Now I fell over the Java class[详细]
2022-12-19 05:23 分类:问答computing large roots : bigdecimal / java
I tried to use the standard iterative algorithm to compute nth roots. For instance (111^123)^(1/123). The standard algorithm computes high powers of the base (in this case 111^123) which takes a lot[详细]
2022-12-18 03:44 分类:问答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 expected results[详细]
2022-12-17 20:37 分类:问答BigDecimal assign operator
I have a problem with assigning one big deci开发者_如何学编程mal value to another I am trying such as creating one temp big decimal and add 0 to another big decimal[详细]
2022-12-13 21:13 分类:问答