Skip to main content
Doctorine reference
On this pageOverview

A numeric literal cannot be represented

A numeric literal cannot be represented

spec.syntax.numeric-literal-unsupported

Category
API specification
Default severity
Error
Applies to
API specification
Default outcome
Blocked
Recommended action
Fix the source
Grouped by
Source location

How to fix it

  1. Rewrite the number as a plain, in-range literal (or quote it as a string).
Documentation menu