Commit e187a169 authored by Dan Cape's avatar Dan Cape
Browse files

toCurrencyString() - Add missing documentation


Documentation was missing for the new toCurrencyString() function that
adds a precision value.

Change-Id: I16c10cdd18dfc37839fccb907470b0942f100e5d
Reviewed-by: default avatarTopi Reiniö <topi.reinio@theqtcompany.com>
Showing with 7 additions and 1 deletion
......@@ -3487,7 +3487,13 @@ QString QLocale::toCurrencyString(double value, const QString &symbol) const
/*!
\since 5.7
\overload
\overload toCurrencyString()
Returns a localized string representation of \a value as a currency.
If the \a symbol is provided it is used instead of the default currency symbol.
If the \a precision is provided it is used to set the precision of the currency value.
\sa currencySymbol()
*/
QString QLocale::toCurrencyString(double value, const QString &symbol, int precision) const
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment