help_outline FAQ chevron_right FAQ chevron_right Detail

Why does using the + operator sometimes concatenate values instead of adding them numerically?

operator them values adding concatenate does

If values are enclosed in quotation marks, the + operator treats them as text and concatenates them. To perform numeric addition, remove the quotation marks from the values.