In the C language which,To convert type does not seem to how difficult,The learning Swift when there is confusion。
Which of them seem to remember spoken tutorial,But remember,This has found,On record:
1 2 3 4 |
假定三个变量: var i:Int = 5 var f:Float = 3.3 var d:Double = 4.455 |
To convert to Double Int or Float ,It is as follows
[cr[……]