Trunc/ru
Функция Trunc округляет значение типа real до значение типа Integer. X - значение вещественного типа. Trunc возвращает значение типа Longint, которое является целой частью значения X, округленное до нуля.
Объявление
function Trunc(X: Real): Longint;См. также:
From the Free Pascal wiki, page "Trunc/ru", as it stood on 2018-03-22 after a change by Useroflazarus, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.