diff options
Diffstat (limited to 'kalzium/src/kalziumutils.cpp')
-rw-r--r-- | kalzium/src/kalziumutils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kalzium/src/kalziumutils.cpp b/kalzium/src/kalziumutils.cpp index 38dd9786..8498962b 100644 --- a/kalzium/src/kalziumutils.cpp +++ b/kalzium/src/kalziumutils.cpp @@ -76,10 +76,10 @@ double KalziumUtils::strippedValue( double num ) TQString KalziumUtils::localizedValue( double val, int precision, unsigned long options ) { - TQString str = KGlobal::locale()->formatNumber( val, precision ); + TQString str = TDEGlobal::locale()->formatNumber( val, precision ); while( str.endsWith("0") ) str.truncate( str.length()-1); - if ( str.endsWith( KGlobal::locale()->decimalSymbol() ) ) + if ( str.endsWith( TDEGlobal::locale()->decimalSymbol() ) ) { // we do not want trailing ',' values so readd trailing 0 str.append( '0' ); // |