Home »
MCQs »
SASS MCQs
Which Sass function is used to round number up to the nearest integer?
27. Which Sass function is used to round number up to the nearest integer?
- ceil(number)
- num-ceil(number)
- getceil(number)
- ceiling(number)
Answer: A) ceil(number)
Explanation:
The ceil(number) function is used to round number up to the nearest integer.
Example:
abs(107.20)
Result: 108