- //return QString::number( theNumber, 'f', 2 );
- static QLocale aLocale( QLocale::English, QLocale::France );
- return aLocale.toString( theNumber, 'f', 2 );
+ if( isInLocale )
+ {
+ static QLocale aLocale( QLocale::English, QLocale::France );
+ return aLocale.toString( theNumber, 'f', 2 );
+ }
+ else
+ return QString::number( theNumber, 'f', 2 );