mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Add info about underscores in numbers to doc
This commit is contained in:
parent
ac4903d042
commit
a591213925
@ -77,8 +77,9 @@ Numeric literal tries to be parsed:
|
|||||||
|
|
||||||
Literal value has the smallest type that the value fits in.
|
Literal value has the smallest type that the value fits in.
|
||||||
For example, 1 is parsed as `UInt8`, but 256 is parsed as `UInt16`. For more information, see [Data types](../sql-reference/data-types/index.md).
|
For example, 1 is parsed as `UInt8`, but 256 is parsed as `UInt16`. For more information, see [Data types](../sql-reference/data-types/index.md).
|
||||||
|
Underscores `_` inside numeric literals are ignored and can be used for better readability.
|
||||||
|
|
||||||
Examples: `1`, `18446744073709551615`, `0xDEADBEEF`, `01`, `0.1`, `1e100`, `-1e-100`, `inf`, `nan`.
|
Examples: `1`, `10_000_000`, `0xffff_ffff`, `18446744073709551615`, `0xDEADBEEF`, `01`, `0.1`, `1e100`, `-1e-100`, `inf`, `nan`.
|
||||||
|
|
||||||
### String
|
### String
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user