我如何转换值并舍入int值?
例:
int x = 121; int y = Math.Ceiling(x/8);
得到错误:
无法隐式转换double为int.存在显式转换(您是否错过了演员?)
double
int
c# rounding
c# ×1
rounding ×1