Define and document numeric values as variables before using them in an expression.
Priority
Strongly recommended
Severity level
5
Description
Do not use magic numbers in your expression. Define them as variables before using them.
Rationale
This encourages reuse and documentation of numerical constants and improves overall readability. As an exception, unit conversion (for example, multiplying by 1e6) can be directly applied.