Details
-
Task
-
Resolution: Fixed
-
P3: Somewhat important
-
5.15.2
-
None
-
1c076189c (dev), 443a0606f (6.6), f2eab492c (6.5)
Description
Add a more complex example to Number QML documentation so users will know about its capability e.g. setting options.
var locale = Qt.locale("de_DE"); var d; d = Number(1000).toLocaleString(locale)); // d == 1.000,00 locale.numberOptions = Locale.OmitGroupSeparator; d = Number(1000).toLocaleString(locale)); // d == 1000,00
Attachments
For Gerrit Dashboard: QTBUG-91198 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
511700,3 | QtQml: Improve documentation of Number object | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
512162,2 | QtQml: Improve documentation of Number object | 6.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
512346,2 | QtQml: Improve documentation of Number object | 6.5 | qt/qtdeclarative | Status: MERGED | +2 | 0 |