Skip to content

Commit 4d3c978

Browse files
committed
feature #12711 Add documentation for exponential format number (Matthieu Lempereur, MrYamous)
This PR was merged into the 4.4 branch. Discussion ---------- Add documentation for exponential format number PR for issue #12537 Adding basic documentation in 4.4 for Exponential format number Commits ------- 79160c8 Add versionadded in file 7146962 Add documentation for exponential format number
2 parents 104780d + 79160c8 commit 4d3c978

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

components/expression_language/syntax.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ The component supports:
1919
* **hashes** - using JSON-like notation (e.g. ``{ foo: 'bar' }``)
2020
* **booleans** - ``true`` and ``false``
2121
* **null** - ``null``
22+
* **exponential** - also known as scientific (e.g. ``1.99E+3`` or ``1e-2``)
23+
24+
.. versionadded:: 4.4
25+
26+
The ``exponential`` literal was introduced in Symfony 4.4.
2227

2328
.. caution::
2429

0 commit comments

Comments
 (0)