ParenthesisAlternatively referred to as the open and close parentheses, the parentheses an outward "(" or inward ")" curved line that enable writers to express remarks, used for mathematical order of operation and in programming for grouping, capturing, and other tasks depending on the programming language. Below is an example of how parentheses may be used in an if statement, using Perl.

if ($test =~ /[a-zA-z]/) {
print "It works!\n";

In the example below is how a formula using parentheses may appear in Microsoft Excel. In the example below the formula is adding cells A1 through A5 to get a total sum.


Related pages

Also see: Programming terms