Try the code:

float a = 0.77F;
int b = (int)(100 * a);
Console.WriteLine(b.ToString());

Result is 76.

What do you think about such strange .Net calculate execution ?