Reverting previous commit: %lf is a valid format specifier for the scanf