Unary Plus¶
Unary plus operator (+
) can be used to represent a positive number.
Syntax
+operand1
Example
+20
+45.6
+0
+someNumberValue
Unary plus operator (+
) can be used to represent a positive number.
+operand1
+20
+45.6
+0
+someNumberValue