Skip to content

Commit 0f82bd2

Browse files
fix: typo in basic-types.md (JetBrains#2112)
Typo fix from ecasping to escaping
1 parent 20e856a commit 0f82bd2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/topics/basic-types.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ val oneByte: Byte = 1
3636
For real numbers, Kotlin provides floating-point types `Float` and `Double`.
3737
According to the [IEEE 754 standard](https://en.wikipedia.org/wiki/IEEE_754),
3838
floating point types differ by their _decimal place_, that is, how many decimal digits they can store.
39-
`Float` reflects the IEEE 754 _single precision_, while `Double` provides _double precision_.
39+
`Float` reflects the IEEE 754 _single precision_, while `Double` provides _double precision_.
4040

4141
| Type |Size (bits)|Significant bits|Exponent bits|Decimal digits|
4242
|--------|-----------|--------------- |-------------|--------------|
@@ -409,7 +409,7 @@ fun main() {
409409

410410
Characters are represented by the type `Char`. Character literals go in single quotes: `'1'`.
411411

412-
Special characters start from an ecsaping backslash `\`.
412+
Special characters start from an escaping backslash `\`.
413413
The following escape sequences are supported: `\t`, `\b`, `\n`, `\r`, `\'`, `\"`, `\\` and `\$`.
414414

415415
To encode any other character, use the Unicode escape sequence syntax: `'\uFF00'`.
@@ -628,4 +628,4 @@ val arr = IntArray(5) { 42 }
628628
// e.g. initialise the values in the array using a lambda
629629
// Array of int of size 5 with values [0, 1, 2, 3, 4] (values initialised to their index value)
630630
var arr = IntArray(5) { it * 1 }
631-
```
631+
```

0 commit comments

Comments
 (0)