diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2012-08-12 17:35:44 +0000 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2012-08-12 17:35:44 +0000 |
commit | 4fb6e53968c38a3bbfa9cfa728da1d31fe3dd3fe (patch) | |
tree | 449f4009f16f8897e7bdd37dafea4f4bd6e28e61 /src/util.cpp | |
parent | 3171daef6c106023a5fcbc80e66c0e0a9552c4d8 (diff) | |
parent | 566f556c40069ed06c8b734433a2859f4917d242 (diff) | |
download | bitcoin-4fb6e53968c38a3bbfa9cfa728da1d31fe3dd3fe.tar.xz |
Merge branch '0.5.x' into 0.6.0.x
Conflicts:
doc/unit-tests.txt
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp index e6c4ed341a..b5971ec724 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -353,7 +353,7 @@ string FormatMoney(int64 n, bool fPlus) int64 remainder = n_abs%COIN; string str = strprintf("%"PRI64d".%08"PRI64d, quotient, remainder); - // Right-trim excess 0's before the decimal point: + // Right-trim excess zeros before the decimal point: int nTrim = 0; for (int i = str.size()-1; (str[i] == '0' && isdigit(str[i-2])); --i) ++nTrim; |