Hi all,
I'm very new to Java and currently working through a very good book but have a question. Currently working with numeric data types, specifically double and float.
It's said in the book that most of the time double should be used as it's more accurate, which is fair enough but I'm curious, under what circumstances would you use float over double, if any?
Thanks.
I'm very new to Java and currently working through a very good book but have a question. Currently working with numeric data types, specifically double and float.
It's said in the book that most of the time double should be used as it's more accurate, which is fair enough but I'm curious, under what circumstances would you use float over double, if any?
Thanks.