I want to do some simple sums with some currency values expressed in BigDe开发者_开发问答cimal type.
I have come across a very weird error. I\'m on Solaris 10, using Ruby Enterprise Edition (ruby 1.8.6 (2008-08-08 patchlevel 286) [i386-solaris2.10]) with Rails 2.3.4. I have a very weird error. In irb
Which data type is apt to represent a decimal number like \"10364055.81\". If tried using double: double d = 10364055.81;
这篇文章主要介绍了Java编程BigDecimal用法实例分享,具有一定参考价值,需要的朋友可以了解下。