Original Post
I have never had a problem with using floats before now. I my program i have created a float like this float fNum = 7.1f; I would expect it to store 7.1 but it stores 7.099999999. I have know i dea why it is doing this as tried it in another program and it works fine. Could it have anything to do with directx.