ok thanks for the help I was using vs2010 and it auto closed so yea. Thanks for all the help
edit: Also changing a float to a double in another part of my code managed to fix a weird error that happened when you subtracted 20 from 20.7. It would display .700001 now it displays the proper .7 :)