Comment on Tutorial - float vs double data types in Java By Baski
Comment Added by : rangzen
Comment Added at : 2014-03-28 09:31:47
Comment on Tutorial : float vs double data types in Java By Baski
"For example, float can be useful when representing dollars and cents."
Check "Learning the Java Language / Language Basics / Primitive Data Types" : "This data type should never be used for precise values, such as currency. For that, you will need to use the java.math.BigDecimal class instead."
- Data Science
- Cloud Computing
- Java Beans
- Mac OS X
- Office 365
- Tech Reviews
4. Updated example to better show Thread T2 showing t
View Tutorial By: Sanjiv at 2013-05-25 20:26:31
5. HI your explanation is absolutely correct but I am
View Tutorial By: Anil R. Chinchawade at 2010-07-28 02:02:01