The MathFloor function returns a numeric value representing the largest integer that is less than or equal to x.
The MathCeil function returns a numeric value representing the smallest integer that exceeds or equals to x.
你输入的x是整数吧?
Loong 写道 >>
womoon 写道 >>The MathFloor function returns a numeric value representing the largest integer that is less than or equal to x.
The MathCeil function returns a numeric value representing the smallest integer that exceeds or equals to x.
你输入的x是整数吧?
在IBFX平台
MathFloor( | double x) |
MathCeil( | double x) |
这两个函数计算结果相同,
为什么啊?请专家帮忙解释一下,谢谢!
确实输入的是整数,知道我的错误了,感谢!
晕,这都被我猜到?
呵呵,高,连这都能被你猜到..............
这两个函数计算结果相同,
为什么啊?请专家帮忙解释一下,谢谢!