大家好,我是小跳,我来为大家解答以上问题。round函数是什么意思函数为啥要加到了符号,round函数是什么意思很多人还不知道,现在让我们一起来看看吧!
1、Returns the value of X rounded to the nearest whole number.UnitSystemCategoryarithmetic routinesfunction Round(X: Extended): Int64;DescriptionThe Round function rounds a real-type value to an integer-type value.X is a real-type expression. Round returns an Int64 value that is the value of X rounded to the nearest whole number. If X is exactly halfway between two whole numbers, the result is always the even number. This method of rounding is often called 揃anker抯 Rounding?If the rounded value of X is not within the Int64 range, a run-time error is generated, which can be handled using the EInvalidOp exception.Note: The behavior of Round can be affected by the Set8087CW procedure or SetRoundMode function. 查看原帖>>
2、记得采纳啊
本文到此讲解完毕了,希望对大家有帮助。