"C" kommt von cast:
du mußt schreiben ((float)5 / (float) 1023) )