Solved Formatting real numbers in qml
-
One can display double numbers from C++ in a QML Text, but the number show all digits. Is there a way to do fixed point formatting?
-
@koahnig you can use toFixed(x) with x beeing the number of digits after the decimal point