Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - 5. Is the sum 1.000 the correct integer constant? How to distinguish whether it is a correct integer constant, and what are its characteristics?
5. Is the sum 1.000 the correct integer constant? How to distinguish whether it is a correct integer constant, and what are its characteristics?
Hello, dear, 5.0 and 1.000 are not integer constants! They are real constants (including decimal parts and exponential forms composed of numbers and decimal points, such as1.0/5.0/0.345/123.456 and 12.34e4, etc.). ), and integer constants are just integers, such as1100/