formating QML label number
-
Hi,
I am displaying a C++ real number in QML Label.
How can I format it to 1 number past decimal ?
Regards,
Steph@sancelot you can use toFixed(x)
with x the number of decimals after the separator
Hi,
I am displaying a C++ real number in QML Label.
How can I format it to 1 number past decimal ?
Regards,
Steph
@sancelot you can use toFixed(x)
with x the number of decimals after the separator