L Lee Linlin Unregistered / Unconfirmed GUEST, unregistred user! 1998-12-07 #1 有没有函数将实行数据转换为整型数据(去掉小数位)
D dwwang Unregistered / Unconfirmed GUEST, unregistred user! 1998-12-07 #2 function Trunc(X: Extended): Longint;
J jiangtao Unregistered / Unconfirmed GUEST, unregistred user! 1998-12-07 #3 function Round(X: Real): Longint; Round Rounds a real-type value to an Integer-type value. Round可以四舍五入 Trunc Truncates a real-type value to an Integer-type value.
function Round(X: Real): Longint; Round Rounds a real-type value to an Integer-type value. Round可以四舍五入 Trunc Truncates a real-type value to an Integer-type value.
M Michael_Qu Unregistered / Unconfirmed GUEST, unregistred user! 1998-12-22 #4 trunc to get the int part of the real round to get 4 cut 5 add to change the real to integer
S sherman Unregistered / Unconfirmed GUEST, unregistred user! 1998-12-26 #5 function Trunc(X : Extended) : LongInt function Round(X : Real) : LongInt
D dwwang Unregistered / Unconfirmed GUEST, unregistred user! 1998-12-26 #7 上帝呀!这个问题再不结束,影响论坛的形象了 不能给自己加分也就算了 ^_^