when I read the doc of swift https://docs.swift.org/swift-book/LanguageGuide/TheBasics.html
let anotherPi = 3 + 0.14159
// anotherPi is also inferred to be of type Double
this works, however if I delete the "Double" in the following case, it does not work.
let three = 3
let pointOneFourOneFiveNine = 0.14159
let pi = Double(three) + pointOneFourOneFiveNine
May I ask why do we need to explicitly convert the type in second case? what is the difference?