28,404
社区成员
发帖
与我相关
我的任务
分享function xInt(v)
if v >0 then
IF v=int(v) then
xint=v
else
xInt = int(v)+1
end if
else
xInt = fix(v)
end if
end function
function xInt(v)
if v >0 then
xInt = int(v)+1
else
xInt = fix(v)
end if
end function
function xInt(v)
if v = int(v) then
xInt = v
else
xInt = int(v) + 1
end if
end function
int(99.9+1)
int(-99.1+1)