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.
1 parent bd7e925 commit 7661ce9Copy full SHA for 7661ce9
concepts/numbers/about.md
@@ -31,7 +31,7 @@ val oneFloat = 1.0f // Float
31
val lightSpeed = 3.0e8 // scientific notation (units of m/s)
32
```
33
34
-Hexadecimal and binary literals are the same as in many languages: `0x7F` and `0b100101` respectively.
+Hexadecimal literals start with `0x`, e.g. `0x7F`, and binary literals start with `0b`, e.g. `0b100101`.
35
Octal literals are not supported in Kotlin.
36
37
## Arithmetic
0 commit comments