Trunc/ru: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: Trunc/ru
| Old | New | Line | |
|---|---|---|---|
| 1 | + | Функция **Trunc** округляет значение типа [[Real/ru|real]] до значение типа [[Integer/ru|Integer]]. X - значение вещественного типа. **Trunc** возвращает значение типа [[Longint/ru|Longint]], которое является целой частью значения X, округленное до нуля. | |
| 2 | + | ||
| 3 | + | Объявление | |
| 4 | + | ||
| 5 | + | `function Trunc(X: Real): Longint;` | |
| 6 | + | ||
| 7 | + | См. также: | |
| 8 | + | ||
| 9 | + | - [[Int/ru|Int]] | |
| 10 | + | - [[Round/ru|Round]] | |
| 11 | + | - [[Frac/ru|Frac]] | |
| 12 | + | ||
| 13 | + | --- | |
| 14 | + | *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).* | |
| 15 | + | Category: Pascal/ru |
