@function is-decimal($num) {
    @if type-of($num) == number {
        @return round($num) != $num;
    } @else {
        @error 'Non-number passed into is-decimal';
    }
}
