Wow... I'm such a fool! So you only need %f for printf() but %lf for scanf()... Thanks so much I feel like an absolute goose.