Копия викизеркало

Это зеркало вики с pascal.chat. Правка, история и вход — там.

Trunc/ru

English · Suomi · Русский

Функция Trunc округляет значение типа real до значение типа Integer. X - значение вещественного типа. Trunc возвращает значение типа Longint, которое является целой частью значения X, округленное до нуля.

Объявление

pascal
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.

Версия 2, последнее изменение: WikiArchive, .