diff options
Diffstat (limited to 'src/corelib/tools')
-rw-r--r-- | src/corelib/tools/qlocale.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/corelib/tools/qlocale.cpp b/src/corelib/tools/qlocale.cpp index 20716ceb26..27d2e4c165 100644 --- a/src/corelib/tools/qlocale.cpp +++ b/src/corelib/tools/qlocale.cpp @@ -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 { |