summaryrefslogtreecommitdiffstats
path: root/src/qml/doc/src/javascript
diff options
context:
space:
mode:
authorKari Oikarinen <kari.oikarinen@qt.io>2019-04-02 13:02:32 +0300
committerKari Oikarinen <kari.oikarinen@qt.io>2019-04-02 13:02:32 +0300
commit17884e1e3c7c40cd104dceb9452dd2df6058c32d (patch)
tree524de148ee4e1c6415a718921938b235c8f9ea91 /src/qml/doc/src/javascript
parent8c1c579405cb4a3b039b171a1fa5d636deed9511 (diff)
parent14109aaccc37df53a0c4b591dddd68b41ec20ec3 (diff)
Merge 5.12 into 5.12.3
Diffstat (limited to 'src/qml/doc/src/javascript')
-rw-r--r--src/qml/doc/src/javascript/number.qdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/doc/src/javascript/number.qdoc b/src/qml/doc/src/javascript/number.qdoc
index b6f80f474a..288232255c 100644
--- a/src/qml/doc/src/javascript/number.qdoc
+++ b/src/qml/doc/src/javascript/number.qdoc
@@ -96,7 +96,7 @@
\code
var german = Qt.locale("de_DE");
var d;
- d = Number.fromLocaleString(german, "1234,56) // d == 1234.56
+ d = Number.fromLocaleString(german, "1234,56") // d == 1234.56
d = Number.fromLocaleString(german, "1.234,56") // d == 1234.56
d = Number.fromLocaleString(german, "1234.56") // throws exception
d = Number.fromLocaleString(german, "1.234") // d == 1234.0