diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-12-01 10:17:47 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-12-01 10:17:58 +0100 |
| commit | b248a38aa5fdec2e8be31f0b2cbc1c108ed9a9d7 (patch) | |
| tree | 0f7851fdbb3b5ec1beb200b09a01015e272fdbb1 /src | |
| parent | Merge pull request #5365 (diff) | |
| parent | Update the intent on SI-style separators. (diff) | |
| download | discoin-b248a38aa5fdec2e8be31f0b2cbc1c108ed9a9d7.tar.xz discoin-b248a38aa5fdec2e8be31f0b2cbc1c108ed9a9d7.zip | |
Merge pull request #5388
1cf23f6 Update the intent on SI-style separators. (21E14)
Diffstat (limited to 'src')
| -rw-r--r-- | src/qt/bitcoinunits.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/qt/bitcoinunits.cpp b/src/qt/bitcoinunits.cpp index c85f569fd..75e1f9ae7 100644 --- a/src/qt/bitcoinunits.cpp +++ b/src/qt/bitcoinunits.cpp @@ -106,10 +106,8 @@ QString BitcoinUnits::format(int unit, const CAmount& nIn, bool fPlus, Separator QString quotient_str = QString::number(quotient); QString remainder_str = QString::number(remainder).rightJustified(num_decimals, '0'); - // Use SI-stule separators as these are locale indendent and can't be - // confused with the decimal marker. Rule is to use a thin space every - // three digits on *both* sides of the decimal point - but only if there - // are five or more digits + // Use SI-style thin space separators as these are locale independent and can't be + // confused with the decimal marker. QChar thin_sp(THIN_SP_CP); int q_size = quotient_str.size(); if (separators == separatorAlways || (separators == separatorStandard && q_size > 4)) |