extras/calcsoft/src/CalcDoc.cpp
branchRCL_3
changeset 16 99b535de1dda
parent 0 3ee3dfdd8d69
equal deleted inserted replaced
14:a616540b95d9 16:99b535de1dda
   263     switch (aOperator)
   263     switch (aOperator)
   264         {
   264         {
   265         case  TCalcEditLine::ECalcAdd:
   265         case  TCalcEditLine::ECalcAdd:
   266             {
   266             {
   267             result += aOperand;
   267             result += aOperand;
       
   268             if( Abs(result)<= KCalcDefaultZero )
       
   269             	{
       
   270             	result = 0;
       
   271             	}
   268             break;
   272             break;
   269             }
   273             }
   270         case  TCalcEditLine::ECalcSubtract:
   274         case  TCalcEditLine::ECalcSubtract:
   271             {
   275             {
   272             result -= aOperand;
   276             result -= aOperand;