Operators precedence.
Operators precedence.Operators precedence is the order in which NumericBase performs operations in formulas.
If you combine several operators in a single formula, NumericBase performs the operations in the order shown in the following table.
In this table, an earlier location means higher precedence. For example, the member access operators has the highest precedence so they are evaluated first.
|
operators with the same precedence
If a formula contains operators with the same precedence - for example, if a formula contains both a multiplication and division operator - NumericBase evaluates the operators from left to right.
Using parenthesis
To change the order of evaluation, enclose the part of the formula to be calculated first in parentheses.
Copyright © 2003 - 2024 by symbol click. Contact info