QML textinput display the int use the index format .like "2e+06"
-
wrote on 22 Feb 2019, 07:54 last edited by
i use the textinput to input some number .including float and int .and i use RegExpValidator to limit the input. but the result of the format is index .how to display in normal format . like 2000000
-
i use the textinput to input some number .including float and int .and i use RegExpValidator to limit the input. but the result of the format is index .how to display in normal format . like 2000000
hi @jimfar
do a proper string transformation before assigning a new string to the TextInput
TextInput{ text: (2000000).toString(10) }
-
wrote on 25 Feb 2019, 00:11 last edited by
3Q my this API is work.
1/3