Home »
MCQs »
SASS MCQs
Which Sass function is used to get the absolute value of the number?
26. Which Sass function is used to get the absolute value of the number?
- abs(number)
- num-abs(number)
- absolute(number)
- getabs(number)
Answer: A) abs(number)
Explanation:
The abs(number) function is used to get the absolute value of the number.
Example:
abs(-108)
Result: 108