I got a code:
for (double i= 0; i < 1; i+=0.02)
{
Console.WriteLine(string.Format("Iteration {0}", i));
}
And result is:
I can't understand why it's add mystic 0,0000000000001?
I got a code:
for (double i= 0; i < 1; i+=0.02)
{
Console.WriteLine(string.Format("Iteration {0}", i));
}
And result is:
I can't understand why it's add mystic 0,0000000000001?