📜  在除以int(整数)时获得小数 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:19.039000             🧑  作者: Mango

代码示例1
int a = 42;
int b = 23;
double result = (double)a / b;