mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-24 10:01:38 +00:00
Merge pull request #2021 from bobrippling/master
[swift/en] Correct "Casting" mention in swift markdown
This commit is contained in:
commit
c0ac40dff2
@ -46,7 +46,7 @@ let `class` = "keyword" // backticks allow keywords to be used as variable names
|
|||||||
let explicitDouble: Double = 70
|
let explicitDouble: Double = 70
|
||||||
let intValue = 0007 // 7
|
let intValue = 0007 // 7
|
||||||
let largeIntValue = 77_000 // 77000
|
let largeIntValue = 77_000 // 77000
|
||||||
let label = "some text " + String(myVariable) // Casting
|
let label = "some text " + String(myVariable) // String construction
|
||||||
let piText = "Pi = \(π), Pi 2 = \(π * 2)" // String interpolation
|
let piText = "Pi = \(π), Pi 2 = \(π * 2)" // String interpolation
|
||||||
|
|
||||||
// Build Specific values
|
// Build Specific values
|
||||||
|
Loading…
Reference in New Issue
Block a user