Hierdie funksie gee terug - 1 as die nommer is negatiewe, 0 as die nommer is null en 1 as die nommer is positiewe.
This function returns -1 if the number is negative, 0 if the number is null and 1 if the number is positive.