aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlproperty/data/floatToStringPrecision.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qqmlproperty/data/floatToStringPrecision.qml')
-rw-r--r--tests/auto/qml/qqmlproperty/data/floatToStringPrecision.qml24
1 files changed, 21 insertions, 3 deletions
diff --git a/tests/auto/qml/qqmlproperty/data/floatToStringPrecision.qml b/tests/auto/qml/qqmlproperty/data/floatToStringPrecision.qml
index a0429e0cc8..a1ff0c527a 100644
--- a/tests/auto/qml/qqmlproperty/data/floatToStringPrecision.qml
+++ b/tests/auto/qml/qqmlproperty/data/floatToStringPrecision.qml
@@ -2,9 +2,27 @@ import QtQuick 2.0
QtObject {
property double a: 3.4
- property string b: a
+ property string a1: a
+ property string a2: a + ""
- property double c: 0.035003945
- property string d: c
+ property double b: 0.035003945
+ property string b1: b
+ property string b2: b + ""
+
+ property double c: 0.0000012345
+ property string c1: c
+ property string c2: c + ""
+
+ property double d: 0.00000012345
+ property string d1: d
+ property string d2: d + ""
+
+ property double e: 100000000000000000000
+ property string e1: e
+ property string e2: e + ""
+
+ property double f: 1000000000000000000000
+ property string f1: f
+ property string f2: f + ""
}