0

I am getting the wrong values at the time of multiplication following is my code

double tranAmt = Convert.ToDouble(5079.98);
double res = tranAmt * 100 ;

showing me result as 507997.9999999994

Expected result is 507998.0

what i am missing.

Prashant
  • 13
  • 1
  • 8

0 Answers0