Grouping Expression

Summary

Overrides precedence of operations.

Syntax

( expression )

Parameters

expression
A valid expression.

Description

Parentheses may be used to override the standard precedence order for operations. For example, 3 * 3 + 5 returns 14, because multiplication is evaluated prior to addition. 3 * (3 + 5) forces the addition operation to be evaluated first, yielding a result for the expression of 24.

See Also

Share

HTML | BBCode | Direct Link