0

I'm doing calc like this

double sdf = 0.0;
sdf = ((300.0-200.0)/(300.0-150.0));
Console.WriteLine(sdf);

Is there a reason for this and why the value is not same?

John Saunders
  • 159,224
  • 26
  • 237
  • 393
Dwi Yanuar Ilham
  • 559
  • 6
  • 15

0 Answers0