C
cyxt6034
Unregistered / Unconfirmed
GUEST, unregistred user!
我的 delphi5 中
整数是单数的将进位, 双数的将舍位;
例如: round(1.5)=2; round(17.5)=18
round(2.5)=2; round(18.5)=18
但 round(2.51)则=3; round(18.51)则=19
round() 函数是这样的吗?
整数是单数的将进位, 双数的将舍位;
例如: round(1.5)=2; round(17.5)=18
round(2.5)=2; round(18.5)=18
但 round(2.51)则=3; round(18.51)则=19
round() 函数是这样的吗?