Floatround method
From SA-MP Wiki
Revision as of 15:08, 9 December 2016; view current revision
←Older revision | Newer revision→
←Older revision | Newer revision→
Description:
The rounding method used with floatround.
floatround_round | Round to the nearest integer. A fractional part of exactly 0.5 rounds upwards (this is the default). |
floatround_floor | Round downwards. |
floatround_ceil | Round upwards. |
floatround_tozero | Round downwards for positive values and upwards for negative values (“truncate”). |