In Swift, a type annotation works to make an integer a double
let num: Double = 100
print(num)
Why does a type annotation not do the same for a double to integer (error of cannot convert value of type 'Double' to specified type 'Int')?
let num: Int = 100.0
print(num)