📜  java 整数除法 tofloat - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:05.685000             🧑  作者: Mango

代码示例1
instead of writing
v = s/i (this does integer division)
write v = (float)s/i