SassScriptFunctions::ceil
Rounds a number up to the nearest whole number.
For example: ceil(10.4px) => 11px ceil(10.6px) => 11px
Signature
public function ceil(
$number )
Parameters
$number
—
Returns
- new
- SassNumber The rounded number
Errors/Exceptions
-
SassScriptFunctionException
- If $number is not a number