private static double RoundDown(double valueToRound,int digits)
{
int digitsValue = Convert.ToInt32(Math.Pow(10, digits));
double valuTemp = valueToRound * digitsValue;
double floorValue = Math.Floor(valuTemp);
return floorValue / digitsValue;
}