📜  double to int c++ 代码示例

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

代码示例1
double x = 5.4;
int y = (int) x;