Sign in Join
Wiki copytemporary

Trunc/ru: what changed

Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
11Функция **Trunc** округляет значение типа [[Real/ru|real]] до значение типа [[Integer/ru|Integer]]. X - значение вещественного типа. **Trunc** возвращает значение типа [[Longint/ru|Longint]], которое является целой частью значения X, округленное до нуля.
22
33Объявление
44
5-`function Trunc(X: Real): Longint;`
5+``` pascal
6+function Trunc(X: Real): Longint;
7+```
68
79См. также:
810
911- [[Int/ru|Int]]
1012- [[Round/ru|Round]]
1113- [[Frac/ru|Frac]]
1214
1315---
1416*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](/wiki-contact).*
1517Category: Pascal/ru

Back to history