strip unit
view sourceStrip the unit from a number.
- use-name
-
scut-strip-unit
- type
- function
- arguments
-
-
$num
-
This becomes useful when you are building your own mixins and functions and find yourself in an error-littered tangle of units. With this function you can just ditch those units, then put them back later.
No example necessary.
The number whose units you wish to strip.