Skip to content
Chris Petersen edited this page Oct 16, 2014 · 1 revision

fceiling returns the ceiling relative to multiples of a float (complements fmodulo): fceiling = ffloor + y.

Parameter Description
x Dividend value
y Divisor value

Example

Example 1: Demonstration of fmodulo, fceiling and ffloor

> (fmodulo 33 2.5)
.4999999999999982
> (fceiling 33 2.5)
35.
> (ffloor 33 2.5)
32.5
Clone this wiki locally