Hello all!
I want a loop from A to B (B > A) including both endpoints A and B, with a given number of steps, for example (B-A)/steps. If I say
the endpoint B is excluded. What is the right way to do this?Code:double A = 1.25f; double B = 7.12f; double step = 100f; for(double i = A; i < B; i += step) { }
serge