There is no formula function to return percentage because the percentage in the gradebook is not a real value but just a display option. You can shift any activity grade to 0-100 range by means of the multiplicator in the grade item settings. For instance, if you have a quiz with max grade 24, you can set the multiplicator of the corresponding grade item to 4.1666. But as long as all columns are on the same points range you don't have to convert them to 0-100. Note that with manual grade items you can set the range (min and max) yourself. Then, just do the calcs with the real values and where you want to display percentage, set the grade display type of that item/category-total to percentage (or letter).
Setting up moodle to automatically compare achieved grade with target grade and outputting "achieved" or "not achieved"
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.