Malisha100ka

26th August 2015, 20:51

Hi, i got the problem with result when inputing numbers in 2 lineedits like:

first line edit: 12,7

secound line edit: 7,2

and expect sum result in third one: 19,9 , but i get nothing becouse of comma as seperator. if i put numbers like 12.7 and 7.2 i get 19.9

soo i wonder is there any solution to that... i rly don't care if result is 19,9 or 19.9 i just whanna make my qt calculate with dot and/or comma as decimal seperator...

Thanks, and i hope i explain my problem well

first line edit: 12,7

secound line edit: 7,2

and expect sum result in third one: 19,9 , but i get nothing becouse of comma as seperator. if i put numbers like 12.7 and 7.2 i get 19.9

soo i wonder is there any solution to that... i rly don't care if result is 19,9 or 19.9 i just whanna make my qt calculate with dot and/or comma as decimal seperator...

Thanks, and i hope i explain my problem well