Skip to content

Commit 7661ce9

Browse files
Update concepts/numbers/about.md
Co-authored-by: Derk-Jan Karrenbeld <[email protected]>
1 parent bd7e925 commit 7661ce9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

concepts/numbers/about.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ val oneFloat = 1.0f // Float
3131
val lightSpeed = 3.0e8 // scientific notation (units of m/s)
3232
```
3333

34-
Hexadecimal and binary literals are the same as in many languages: `0x7F` and `0b100101` respectively.
34+
Hexadecimal literals start with `0x`, e.g. `0x7F`, and binary literals start with `0b`, e.g. `0b100101`.
3535
Octal literals are not supported in Kotlin.
3636

3737
## Arithmetic

0 commit comments

Comments
 (0)