Unary - Positive
operator Unary - Positive
What changes
- Input
- operand expressions
- Output or change
- computed value
- Return type
- Returns the data type of numeric_expression.
Syntax at a glance
+ numeric_expression
Work example
A calculation needs Unary - Positive with explicit input types and bounds.
Try a positive value, a negative value, and a boundary value. Check overflow, precision, and type conversion.
Check your work Unary - Positive. The result of Unary - Positive has the expected sign, precision, and range.
Open Microsoft Learn for full syntax, permissions, and details for your version.