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?

  1. ceil(number)
  2. num-ceil(number)
  3. getceil(number)
  4. 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

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.