Well, if intuitively the problem is the result of dividing an int by an int, surely a solution is: "Don't do that," right?
好的,直观地看,如果那个问题的原因是因为整型数除以整型数的话,无疑有个解决方案是:“不要那样做“,是吗?
The result is that when you divide an int by an int, the answer no matter what is going to be an int.
当你把一个整型数除以一个整型数时,无论如何答案将会是一个整型数。
应用推荐