variable length qml
QML and Qt Quick
3
Posts
2
Posters
635
Views
1
Watching
-
Hi,
I have a small question, like to know if someone can help me:
I leave here an example of what I intend to:var value value = 7/3600 console.log(value)
And the result is: 0,0019444444444444, but I just want to see: 0,0019
is there any way to limit the number of digits of the variable?Thanks a lot.
-
Thank you! It works!