We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3ed9a38 + 392b187 commit 046423fCopy full SHA for 046423f
docs/types/value-types.rst
@@ -448,8 +448,8 @@ Integer literals are formed from a sequence of digits in the range 0-9.
448
They are interpreted as decimals. For example, ``69`` means sixty nine.
449
Octal literals do not exist in Solidity and leading zeros are invalid.
450
451
-Decimal fractional literals are formed by a ``.`` with at least one number on
452
-one side. Examples include ``1.``, ``.1`` and ``1.3``.
+Decimal fractional literals are formed by a ``.`` with at least one number after the decimal point.
+Examples include ``.1`` and ``1.3`` (but not ``1.``).
453
454
Scientific notation in the form of ``2e10`` is also supported, where the
455
mantissa can be fractional but the exponent has to be an integer.
0 commit comments