Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/reports/pivottable.cpp
Context not available. | |||||
1895 | 1895 | | |||
---|---|---|---|---|---|
1896 | QString PivotTable::coloredAmount(const MyMoneyMoney& amount, const QString& currencySymbol, int prec) const | 1896 | QString PivotTable::coloredAmount(const MyMoneyMoney& amount, const QString& currencySymbol, int prec) const | ||
1897 | { | 1897 | { | ||
1898 | if (prec == -1) | ||||
1899 | prec = KMyMoneyGlobalSettings::pricePrecision(); | ||||
1898 | QString result; | 1900 | QString result; | ||
1899 | if (amount.isNegative()) | 1901 | if (amount.isNegative()) | ||
1900 | result += QString("<font color=\"rgb(%1,%2,%3)\">") | 1902 | result += QString("<font color=\"rgb(%1,%2,%3)\">") | ||
Context not available. |