File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Big Decimal issue

 
shoeb sattar
Greenhorn
Posts: 11
Eclipse IDE Firefox Browser Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My question is my project uses "com.ibm.icu.math.BigDecimal" and "java.math.BigDecimal".
What is diference between them? How can we convert one to other?
 
Campbell Ritchie
Sheriff
Pie
Posts: 47300
52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don’t know. You would have to look at the API documentation for those two classes.
 
Winston Gutkowski
Bartender
Pie
Posts: 9497
50
Eclipse IDE Hibernate Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
shoeb sattar wrote:My question is my project uses "com.ibm.icu.math.BigDecimal" and "java.math.BigDecimal".
What is diference between them? How can we convert one to other?

Like Campbell, I don't know what the differences are, but I suspect very strongly that com.ibm.icu.math.BigDecimal will have a method to convert the value to a String, so you can probably convert with something like:
Winston
 
Joanne Neal
Rancher
Pie
Posts: 3742
16
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And to convert the other way com.ibm.icu.math.BigDecimal has a constructor that takes a java.math.BigDecimal as a parameter.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic