+ (Unary Plus) (TSQL Operator)

Returns the value of a number.

Syntax

+ expression

Arguments

expression
is a numeric expression of type tinyint, smallint, int, bigint, money, numeric, float.

Return Types

Returns the same datatype as expression.

Remarks

The unary plus + operator has no effect, and is just ignored.

Examples

PRINT +10;
PRINT 123.45 * +30;

The result is:

10
3703.50