// 08.05.20 function N=Trunc(X) if X>=0 N=floor(X) else N=ceil(X) end endfunction