Inspectopedia
 
2024.3

Confusing floating point literal

Warning
Code Style
New
Last modified: 03 December 2024

Reports any floating point number that does not have a decimal point, or any numbers before the decimal point, or and numbers after the decimal point. Such literals may be confusing, and violate several coding standards.