note Help Needed
This wiki is the result of an ongoing community effort — thank you all for helping!
If you want to provide changes to this page then please click here.
Floatround Modes
info
A list of possible floatround modes which can be used by floatround.
Mode | Description |
---|---|
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") |
floatround_unbiased | The same as floatround_round |