added readfloat function

You can all use it to scan for a float value and check if it is one. You use it with variable = ReadFloat("ERROR MESSAGE");