Notes: Lecture 2 basic knowledge of Java language

summary:

4. Floating point (real) data real constant: ◇ decimal number form consists of numbers and decimal points, and must have decimal points, such as 0.123,1.23123.0 ◇ scientific counting method form, such as 123e3 or 123e3, where e or e must be preceded by a number, and the index after e or e must be an integer. ◇ float type value must be followed by f or F, For example, float t = 1.23f.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>