Working with some code, try it yourself, let me know if you get the same result...
Under an event (any event), add the following...
BuildData(0.01, 0.25, 0.01);
Add the following method...
private void BuildData(double start, double end, double step)
{
double current = start;
while (current <= end)
{
//I actually have other stuff going on here, but no calcs (one current.ToString() conversion)
current = current + step;
}
}
basic hu? Watch "current" when it transistions from "0.05" to "0.06" -- you don't get 0.06, check this out
Next step ...
The hell?