Learn Java Programming - Floating-point Literals

preview_player
Показать описание
Floating-point literals are simply a whole number followed by a decimal point followed by more numbers that represent a fraction of the next whole number on the number line. Floating-point literals can be either positive or negative. Floating-point literals can be assigned to variables of the following primitive data types: double, and float.
Рекомендации по теме