Comment on Tutorial - float vs double data types in Java By Baski
Comment Added by : David
Comment Added at : 2009-10-08 13:47:08
Comment on Tutorial : float vs double data types in Java By Baski
"For example, float can be useful when representing dollars and cents."
This is wrong. VERY wrong. You should never, under any circumstances, use a float to represent money.
It's better to use scaled integers or, failing that, BCD.
- Cloud Computing
- Java Beans
- Mac OS X
- Office 365
- Tech Reviews
Subscribe to Tutorials
9. Thnx.. it was clearly explained... tomorrow i have
View Tutorial By: Susmitha Sen at 2012-03-25 09:34:29
10. why we use the java in networking and What are the
View Tutorial By: ali mohammed at 2015-10-11 23:03:40