+ operator does nothing to a numerical type.
+
Supported and resulting types:
Examples:
int new = +3 # 'new' is 3
float new = +3.0f # 'new' is 3.0f
double new = +3.0 # 'new' is 3.0
- operator negates a numerical type.
-
int new = -3 # 'new' is -3
float new = -3.0f # 'new' is -3.0f
double new = -3.0 # 'new' is -3.0
There was an error while loading. Please reload this page.