Merge branch '0.6.0.x' into 0.6.x

This commit is contained in:
Luke Dashjr
2012-08-12 17:36:55 +00:00
10 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -373,7 +373,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;