---
title: Avoid Declaring Integers Over 15 Digits
description: "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…"
url: "https://community-staging.qualityclouds.com/qcdocs/qcr/rules/avoid-declaring-integers-over-15-digits/"
updated: "2025-03-21"
category: PMD Rules
---

# 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](https://pmd.github.io/latest/pmd_rules_ecmascript_errorprone.html#innaccuratenumericliteral).
