%L1 means format the number with current locale settings, in my case if num1
and num2 are 100000, then QString("%L1").arg(num1) is "100,000"
and QString::number(num2) is " 100000".
Ak, OK, I wasn't aware of this option. Then it's normal that the values
are different, "100,000" and "100000".
I am formataating the number with current locale number settings but QTable
Item doesnt understand it. I wouldnt mind if QTableItem itself formatting the
number according to locale settings, i mean to make it more readable.
QTableItem should align "100,000" but not "100000", shouldn't it? What
do you expect and what do you see?
List archive and information: http://lists.trolltech.com/qt-interest/