View Full Version : integer to QChar

26th February 2013, 17:33
I need to change the digits of a floating number n update it back to the QLCDNumber as double.

You know, the best way crossed my mind is to convert the double to QString and replace
the new digit with any three digits of the double. However, the QString replace() method
take QChar as the last argument. I need to replace this argument with the integer I wish to
replace in QLCDNumber. I tried to convert it but it gives me error.

does anyone know how to convert my integer to QChar ?

26th February 2013, 18:12
To convert integer to QChar you can convert it to QString then to QChar.