Zero before decimal point
ID | STAT-21 |
Title | Always use a zero before the decimal point in numeric expressions. |
Priority | Recommended |
Severity level | 9 |
Description | Always use a zero before the decimal point in numeric expressions. |
Rationale | Increases the readability of the code. |
Avoid:
THRESHOLD = .5;
Instead use:
THRESHOLD = 0.5;