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
4. hi,i am new in java..plz send me java programmes i
View Tutorial By: dinesh at 2012-12-30 15:58:31
6. if a class is declared as abstract and it contains
View Tutorial By: nagaraj at 2012-04-25 17:12:30
10. Hi, i am trying this code but at compile time it w
View Tutorial By: swapnil at 2012-12-16 01:37:57