For example:
double myRes = Slope(blah, blah);
printing myRes displays -> 2.249999999999984E-06
I would like to display/format myRes like this:
2.24 or maybe 2.249. etc.
Problem is when I do this:
myRes.ToString("0.00");
I get -> 0.00
This approach seems to work in other situations, why not here?
Comment