# var-negative()

{% code title="" lineNumbers="true" %}
```scss
@function var-negative($var, $calculate: true) {
  @if $calculate == true {
    @return calc((#{$var}) * -1);
  }
  @return $var;
}
```
{% endcode %}
