First pass conversion of NAV Patterns

This commit is contained in:
Jeremy Vyska 2021-10-22 00:23:03 +02:00
parent 1341938262
commit 6b32107a72
325 changed files with 11946 additions and 0 deletions

View file

@ -0,0 +1,28 @@
+++
title = "unnecessary-compound-parenthesis.md"
weight = 1260
+++
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;