I’m new to qml..
Can anyone tell me how to convert String to double or long long value ?
I mean I want a double or long long result. I’m writing an application for a large calculation…
And want to add comma (,) after 3 digit and also need 5 precision.
I mean I want something like —> 12,345,678.976548
How can I do that…???
TextInput {
id: textInput1
width: 146
height: 37
text: qsTr("Text Input")
font.pixelSize: 12
}
TextInput {
id: textInput2
width: 142
height: 37
text: qsTr("Text Input")
font.pixelSize: 12
}
Button {
height: 30
width: 100
onClicked: {
root.text = textInput1 + textInput2
}
}
↧