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.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlproperty/data/floatToStringPrecision.qml b/tests/auto/qml/qqmlproperty/data/floatToStringPrecision.qml
new file mode 100644
index 0000000000..a0429e0cc8
--- /dev/null
+++ b/tests/auto/qml/qqmlproperty/data/floatToStringPrecision.qml
@@ -0,0 +1,10 @@
+import QtQuick 2.0
+
+QtObject {
+ property double a: 3.4
+ property string b: a
+
+ property double c: 0.035003945
+ property string d: c
+}
+