Rounding functions
Reference documentation for Expressif functions in the numeric/rounding scope.
| Name | Overview |
|---|---|
ceiling | Returns the smallest integer greater than or equal to the argument number. |
clip | Returns the value of an argument number, unless it is smaller than min, in which case it returns min, or greater than max, in which case it returns max. |
floor | Returns the largest integer less than or equal to the argument number. |
integer | Returns the value of an argument number rounded to the nearest integer. |
round | Returns the value of an argument number to the specified number of fractional digits. |