Home »
MCQs »
SASS MCQs
Which Sass function is used to round number down to the nearest integer?
29. Which Sass function is used to round number down to the nearest integer?
- floor(number)
- getfloor(number)
- round(number)
- rounddown(number)
Answer: A) floor(number)
Explanation:
The floor(number) function is used to round number down to the nearest integer.
Example:
floor(107.76)
Result: 108