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() to reverse the sign, numeric() for numerical evaluation, isNumeric() to validate input, and add() for binary addition.
Caveat
Do not rely on unary plus to clean malformed data; validate and parse external values deliberately.