Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
5.15.14
-
None
-
Windows 10
MSVC 2019
Description
qDebug() << QLocale( QLocale::Hindi, QLocale::India ).toString( 100000 );
qDebug() << QLocale( QLocale::Hindi, QLocale::India ).toString( 100000.0, 'f' );
Outputs:
"1,00,000"
"100,000.000000"
It should return:
"1,00,000"
"1,00,000.000000"
It appears QLocale().toString( int ) was fixed in 5.14, but QLocale().toString( double ) wasn't.
Both are correct in Qt 6.5.1.
See also:
Attachments
Issue Links
- resulted from
-
QTBUG-24301 Indian number formatting not supported
- Closed