取整请问在DELPHI是中是否有一函数可以取整,比如0.12 则为1 1.68 则为2 [解决办法]自己写个小函数算一下;if x-trunc(x)> 0 then result := trunc(x) + 1 else result := trunc(x)