12-05-2013 06:31 AM
How to get decimal values from an international currency string.
Solved! Go to Solution.
12-05-2013 07:07 AM
12-05-2013 07:40 AM
I m trying this using QML.
12-05-2013 08:00 AM
12-05-2013 08:03 AM - edited 12-05-2013 08:13 AM
Try parseInt (e.g. parseInt(textInput1.text))...
12-05-2013 08:23 AM
12-05-2013 08:27 AM - edited 12-05-2013 08:29 AM
Okay so I didn't misunderstand, can you post an example of the string and what you want the result to look like.
Did you look at the string functions, where you not able to work out what you needed from them?
[Edit] Seriously mate, the more information you put here the more likely you are to get an answer that solves your problem and doesn't waste people's time guessing what it is you want!
12-05-2013 08:49 AM
12-05-2013 08:58 AM
Finally we get to the actual problem.
You can either use the localisation functions or write your own using the string functions mentioned earlier...