--- a/commonuis/CommonDialogs/src/AknCFDUtility.cpp Thu Jul 15 18:56:19 2010 +0300
+++ b/commonuis/CommonDialogs/src/AknCFDUtility.cpp Thu Aug 19 10:11:06 2010 +0300
@@ -795,24 +795,21 @@
if (( aFreeSpace >= KHundredNum ) && ( aFreeSpace < KMegaNum ))
{
- tempNum /= KThousandNum; // Divide to kilobytes
- tempNum = TReal32( TInt( tempNum * 10 ) ) / 10;
+ tempNum /= TReal64( KThousandNum ); // Divide to kilobytes
unitBuf = StringLoader::LoadLC(
R_CFD_QTN_MEMC_UNITS_KILOBYTE,
CCoeEnv::Static());
}
else if (( aFreeSpace >= KMegaNum ) && ( aFreeSpace < KGigaNum ))
{
- tempNum /= KMegaNum; // Divide to Megabytes
- tempNum = TReal32( TInt( tempNum * 10 ) ) / 10;
+ tempNum /= TReal64( KMegaNum ); // Divide to Megabytes
unitBuf = StringLoader::LoadLC(
R_CFD_QTN_MEMC_UNITS_MEGABYTE,
CCoeEnv::Static());
}
else if (aFreeSpace >= KGigaNum )
{
- tempNum /= KGigaNum; // Divide to Gigabytes
- tempNum = TReal32( TInt( tempNum * 10 ) ) / 10;
+ tempNum /= TReal64( KGigaNum ); // Divide to Gigabytes
unitBuf = StringLoader::LoadLC(
R_CFD_QTN_MEMC_UNITS_GIGABYTE,
CCoeEnv::Static());