well it works for me now, turns out I forgot the "f" after %.2 in the printf statement lol, but the friend I'm trying to help with this is still getting problems. I'll ask them for the errors they are getting