• Post Reply Bookmark Topic Watch Topic
  • New Topic

Strange problem with double type data  RSS feed

 
Tony Tranquil
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working a web application, I got a strange problem with double type data.
for example,



I got 545.6800000000001 !!! I tried to debug it but no any clue.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not so strange as you might imagine! Have a look at our FAQs, section 20.
 
Tony Tranquil
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you so much, buddy! ;-))
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!