19 - More Floating-Point Data Types in Java (Float and Double)

preview_player
Показать описание

In this lesson we learn about float and double data types in java. These types of variables hold decimal values. Which type to use in a java program depends on how many decimal places are needed for the calculation.
Рекомендации по теме
Комментарии
Автор

This helped me to finally understand float & double. Thanks for making it simple and understandable

mau
Автор

Very detailed and explained well. Thank you!

TheBandoury
Автор

seems strange to me that the default would be "double" since it goes to so many decimal places. it's pretty rare that you need precision past two decimal places. Seems like a lot of wasted memory for no reason when we could just call on a variable type that can handle a more precise number.

SirFency
join shbcf.ru