Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Mathematica > Symbolic Notational Forms >

PrecedenceForm

PrecedenceForm[expr, prec]
prints with expr parenthesized as it would be if it contained an operator with precedence prec.
  • prec must be an integer. See notes for Infix.
  • PrecedenceForm acts as a "wrapper", which affects printing, but not evaluation.
Force parenthesization by lowering the effective precedence of multiplication:
In[1]:=
Click for copyable input
Out[1]=
New in 1
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team