Configuration
- Rounding — how a fractional input becomes an integer.
round(default) — nearest, halves away from zero (2.5→3,-2.5→-3).floor— towards negative infinity (2.9→2,-2.1→-3).ceil— towards positive infinity (2.1→3,-2.9→-2).
Notes
Inputs must be a number or a numeric string.nil, booleans, and
maps/structs are rejected.