tag:blogger.com,1999:blog-541076025902929823.post912152256525078090..comments2012-05-17T20:54:38.226+02:00Comments on Boolean Bay: Grails, GORM database migrationJean le Rouxhttp://www.blogger.com/profile/17706546411562207349noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-541076025902929823.post-80589737914719746642012-05-17T20:54:38.226+02:002012-05-17T20:54:38.226+02:00I fail to understand how this day and age, anyone ...I fail to understand how this day and age, anyone takes a language seriously with such glaring problems in it. Why do we put up with it ? <br /><br />Can the JVM team not just do a bit of work and sort this out? What is the benefit of having rounding errors on numerical types, or is the cost of fixing it so very high ?Jean le Rouxhttps://www.blogger.com/profile/17706546411562207349noreply@blogger.comtag:blogger.com,1999:blog-541076025902929823.post-45630420210787609542010-11-24T12:17:26.913+02:002010-11-24T12:17:26.913+02:00You shouldn't use floating point data types fo...You shouldn't use floating point data types for financial calculations (either float or double), as the link I attach says. Take a look at it or google for "representing money in java". Float or doubles always carry small rounding errors, even for small numbers.<br />The article is this: http://www.javapractices.com/topic/TopicAction.do?Id=13Xanhttps://www.blogger.com/profile/15504052023631548997noreply@blogger.com