Avoid declaring integers over 15 digits
Impact area
Manageability
Severity
High
Affected element
Lightning
Rule ID
SF-0071
Impact
In JavaScript, integers (numbers without a period or exponent notation) are only accurate up to 15 digits, so using integres with more than 15 digits will lead to unwanted results.
Remediation
Use exponents to support large number constants.
Time to fix
45 min
References
See the PMD documentation article: InnaccurateNumericLiteral.