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.
- Data Science
- Cloud Computing
- Java Beans
- Mac OS X
- Office 365
- Tech Reviews
Subscribe to Tutorials
1. how do i cast the contents of the arraylist to dou
View Tutorial By: ronnie at 2010-01-27 00:04:25
3. Hi Shweta, Thanks for pointing the typo error in t
View Tutorial By: Jagan at 2008-07-12 21:36:46
6. I am very much thankfull to you in providing the c
View Tutorial By: c vijaychandar at 2010-05-05 10:14:59
10. providing explanation about the topics is very use
View Tutorial By: vikram naidu at 2010-06-09 23:40:41