dev:core:funref:abs_ceil
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| reference:advtrains:abs_ceil [2019-10-02 18:47] – created 82.67.173.193 | dev:core:funref:abs_ceil [2020-01-22 09:53] (current) – ↷ Page moved from reference:advtrains:abs_ceil to dev:core:funref:abs_ceil admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== advtrains.abs_ceil ====== | ====== advtrains.abs_ceil ====== | ||
| - | //Returns the absolute ceiling of the number.// | + | //Rounds a number |
| //Notes:// | //Notes:// | ||
| Line 10: | Line 10: | ||
| advtrains.abs_ceil(i) | advtrains.abs_ceil(i) | ||
| </ | </ | ||
| - | |||
| - | ===== Extended description ===== | ||
| - | This function acts: | ||
| - | * as a **ceiling function** with positive numbers, where the returned integer is greater or equal than the argument. | ||
| - | * as a **floor function** with negative numbers, where the returned integer is less or equal than the argument. | ||
| ===== Parameters ===== | ===== Parameters ===== | ||
| Line 20: | Line 15: | ||
| ===== Returns ===== | ===== Returns ===== | ||
| - | The absolute ceiling of the specified argument. | + | The specified argument |
| ===== Examples ===== | ===== Examples ===== | ||
dev/core/funref/abs_ceil.1570042056.txt.gz · Last modified: by 82.67.173.193
