Unnecessary Compound Parenthesis
Categories:
Use parenthesis only to enclose compound expressions inside compound expressions.
Bad code
IF ("Costing Method" = "Costing Method"::Standard) THEN
Good code
IF "Costing Method" = "Costing Method"::Standard THEN
Bad code
ProfitPct = -(Profit) / CostAmt * 100;
Good code
ProfitPct = -Profit / CostAmt * 100;
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified October 4, 2024: Merge pull request #249 from Busschers/ErrorHandling-ListOfReferenceText (5e76983)
by Arend-Jan Kauffmann