i managed to solve it, i used the mark value instead of the percentage and i had to make sure the number was a decimal value and not an integer value.
Thanks for all your help.
Thanks for all your help.
I am glad to hear that you were able to solve your grading problem.