math operator syntax adding customize functions, converting decimal to base 5

math operator syntax adding customize functions, converting decimal to base 5

by Amol Bambode -
Number of replies: 0

Moodle version 3.3

I am making a quiz using question type - calculated questions. The question is to convert a base 10 number to base 5. I want the question to be different for different student, this can be done using calculated questions. Currently it only has inbuilt functions which convert decimal to binary(decbin) and vice versa(bindec). Can I customize and create my own function to convert between based of my choice?

Average of ratings: -