Many thanks guys. I think I got some serious gaps in this regard. For now I'm going with NumberFormat and it fits me, I'll try BigDecimal if I need more !
Le lundi 30 septembre 2013 00:38:06 UTC+2, Jim Douglas a écrit :
-- Thanks !
Le lundi 30 septembre 2013 00:38:06 UTC+2, Jim Douglas a écrit :
http://www.codinghorror.com/blog/2009/05/why-do-computers- suck-at-math.html
On Sunday, September 29, 2013 3:20:36 AM UTC-7, Martones wrote:Hey guys,I had this problem hounting me since quite a while. I'm using double types in the equation above and I have this wierd precision result :5.3 * 3 = 15.899999999999999This is not the first time at all and I already saw this with floats / without multiplication and so on. Before I spend few hours figuring out some test cases, can anyone give me any directions of where and what to search ? :)Many thanks everyone !Ludovit
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment