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
  • 160,644
  • 26
  • 247
  • 397
Dwiyi
  • 638
  • 7
  • 17

0 Answers0