# unaryPlus() Function & Examples

Use the unaryPlus() operators function in Calcul.io. Review its syntax, edit working examples, understand the result, and explore related math functions.

## unaryPlus

#### +x

#### unaryPlus(x)

Try it yourself:

```calculio
+true
+"2"
```

[add](https://calcul.io/function/add/index.md)

[subtract](https://calcul.io/function/subtract/index.md)

---

## unaryPlus(): explicitly treat a value as positive

**unaryPlus(x)** is the leading plus operation, `+x`. For a number it leaves the value unchanged, while in an expression language it can make numeric intent explicit.

## Why use it

Unary plus can clarify a formula and may coerce a compatible representation to numeric form according to the calculator’s rules. It is more about expression intent than arithmetic transformation.

## Related operations

Use [unaryMinus()](https://calcul.io/function/unaryMinus/index.md) to reverse the sign, [numeric()](https://calcul.io/function/numeric/index.md) for numerical evaluation, [isNumeric()](https://calcul.io/function/isNumeric/index.md) to validate input, and [add()](https://calcul.io/function/add/index.md) for binary addition.

## Caveat

Do not rely on unary plus to clean malformed data; validate and parse external values deliberately.

[All functions](https://calcul.io/functions/index.md)
