blob: 308219aac895ce400b8646c45b0ac8a042d8e01a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<p>
Underscores can be added to numbers for clarity. For example,
<code>1000000</code> can be tricky to read quickly, while
<code>1_000_000</code> can be easier.
</p>
<p>
Ints can be written in binary, octal, or hexadecimal formats using the
<code>0b</code>, <code>0o</code>, and <code>0x</code> prefixes respectively.
</p>
<p>
Floats can be written in a scientific notation.
</p>
|