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 |
Returns:
the unit-less number
- Type
- Number
Example
strip-unit(16px)
=> 16