Skip to content

Commit e32bbf0

Browse files
committed
https://github.com/adobe/json-formula/issues/179
1 parent 25035d9 commit e32bbf0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/spec.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,10 +301,11 @@ fragment EXP
301301
;
302302
----
303303

304-
Number literals follow the same syntax rules as numeric values in JSON with two exceptions:
304+
Number literals follow the same syntax rules as numeric values in JSON with three exceptions:
305305

306306
1. Number literals may omit a leading zero. For example, `.123` is not valid JSON, but is allowed as a number literal.
307-
2. The grammar construction for a number literal does not include a minus sign. Literal expressions are made negative by prefixing them with a unary minus.
307+
2. Number literals may include a leading zero. For example, `0123` is not valid JSON, but is allowed as a number literal.
308+
3. The grammar construction for a number literal does not include a minus sign. Literal expressions are made negative by prefixing them with a unary minus.
308309

309310
Note that number literals (and JSON numbers) allow scientific notation.
310311

0 commit comments

Comments
 (0)