Symbol class: Mathematics, Arithmetics, Logic and Comparisons

Syntax:

Symbol type: function

Argument description:

number | number |

divisor | non-zero real number, default is 1 |

CEILING function returns two values, the first is result of dividing number by divisor and truncating toward positive infinity. Second result remainder that satisfies equation: quotient * divisor + remainder = number.

(ceiling 10) => 10, 0 (ceiling 10.3 2) => 6, -1.6999998 (ceiling 3/4) => 1, -1/4

(multiple-value-list (ceiling 20 7)) => (3 -1)