标签: swift math int
let a: UInt64 = 17400000 let b: UInt64 = 27001916 let result = a / b print(result) print((a / b) * 100) //-> Also prints 0
为什么结果总是打印0,我如何获得真实结果?
0
这似乎很简单,但我无法弄清楚