Skip to content

Commit b248a38

Browse files
committed
Merge pull request #5388
1cf23f6 Update the intent on SI-style separators. (21E14)
2 parents 5270817 + 1cf23f6 commit b248a38

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/qt/bitcoinunits.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,8 @@ QString BitcoinUnits::format(int unit, const CAmount& nIn, bool fPlus, Separator
106106
QString quotient_str = QString::number(quotient);
107107
QString remainder_str = QString::number(remainder).rightJustified(num_decimals, '0');
108108

109-
// Use SI-stule separators as these are locale indendent and can't be
110-
// confused with the decimal marker. Rule is to use a thin space every
111-
// three digits on *both* sides of the decimal point - but only if there
112-
// are five or more digits
109+
// Use SI-style thin space separators as these are locale independent and can't be
110+
// confused with the decimal marker.
113111
QChar thin_sp(THIN_SP_CP);
114112
int q_size = quotient_str.size();
115113
if (separators == separatorAlways || (separators == separatorStandard && q_size > 4))

0 commit comments

Comments
 (0)