Namespace: Util:strip-unit

Util:strip-unit

Source:

Methods

strip-unit($number) → {Number}

Removes the unit from a value, turning it into a unit-less value.

Parameters:
Name Type Description
$number Number

the number to strip the unit from

Source:
Returns:
the unit-less number
Type
Number
Example
strip-unit(16px)
  => 16