Error when importing grades as percentages

Error when importing grades as percentages

by Pedro Martins Da Torre -
Number of replies: 0

Is it possible to import grades into Moodle via .csv files when the grades are setup as percentages in the .csv files?

I created a test course and quiz with the maximum grade set to 50 and I can import grades into the gradebook for that course as numbers in the following .csv format:

username,Quiz: QZ-TST
student1,41.7
student2,22.2
student3,34.1

Moodle imports the grades nicely, but when I convert the results to percentages like this:

username,Quiz: QZ-TST
student1,83.4 %
student2,44.4 %
student3,68.2 %

Moodle complains that the "Supplied grade is invalid" and I see the following in the top left corner just below the 'Choose an action' list (my debugging level is set to quite high):

t0 is 6
grade is 83.4 %

I get the above error in both Moodle 1.9.2+ and 1.9.3+ (on IIS 6 and MSSQL 2005).

What is the correct format for importing grades as percentages?