diff options
| author | Russ Cox <rsc@golang.org> | 2009-06-24 20:12:50 -0700 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2009-06-24 20:12:50 -0700 |
| commit | dfafe9a353bd1d4dcbbde691b9c8cda2533f47a3 (patch) | |
| tree | edbec55b247a7a6543d84b4574fb88326833b3e1 /src/pkg/strconv/decimal.go | |
| parent | e3fe6186634f9b74b9f39924516e24b068b9e141 (diff) | |
| download | golang-dfafe9a353bd1d4dcbbde691b9c8cda2533f47a3.tar.gz | |
style police: parens in if, for, switch, range
R=r
DELTA=32 (0 added, 3 deleted, 29 changed)
OCL=30718
CL=30725
Diffstat (limited to 'src/pkg/strconv/decimal.go')
| -rw-r--r-- | src/pkg/strconv/decimal.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/strconv/decimal.go b/src/pkg/strconv/decimal.go index 38d9c47fb..bf559b193 100644 --- a/src/pkg/strconv/decimal.go +++ b/src/pkg/strconv/decimal.go @@ -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); |
