Skip to content

Commit

Permalink
Merge pull request #12253 from Ismael-VC/patch-4
Browse files Browse the repository at this point in the history
Add reference to `_` as digit separator.
  • Loading branch information
JeffBezanson committed Jul 28, 2015
2 parents 673b2d7 + 5b25a47 commit 721bdbe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/manual/integers-and-floating-point-numbers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,12 @@ only as a storage format. In calculations they'll be converted to ``Float32``:
julia> 2*Float16(4.)
8.0f0

The underscore ``_`` can be used as digit separator:

.. doctest::

julia> 10_000, 0.000_000_005, 0xdead_beef, 0b1011_0010
(10000,5.0e-9,0xdeadbeef,0xb2)

Floating-point zero
~~~~~~~~~~~~~~~~~~~
Expand Down

0 comments on commit 721bdbe

Please sign in to comment.