style police: parens in if, for, switch, range

R=r
DELTA=32  (0 added, 3 deleted, 29 changed)
OCL=30718
CL=30725
This commit is contained in:
Russ Cox 2009-06-24 20:12:50 -07:00
parent 30533d607a
commit a50cbf6c73
14 changed files with 29 additions and 32 deletions

View file

@ -328,7 +328,7 @@ func (a *decimal) Round(nd int) *decimal {
if nd <= 0 || nd >= a.nd {
return a;
}
if(shouldRoundUp(a, nd)) {
if shouldRoundUp(a, nd) {
return a.RoundUp(nd);
}
return a.RoundDown(nd);