Floatround methods

Floatround Methods

The rounding method used with floatround.


Methods:
  • 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”).