Farai Aschwanden wrote:
HelloErm, not a Pygame 1.8 question but just cant find the the needed function: I would like to make a negative number to a positive number, like -5 -> 5Quite easy, just cant find the Python function (if there is one). Sure I could multiply the negative value by -1 but I would prefer using the convention function. Is there one and what is it called?Thanks in advance Farai
Just get the absolute value. I think its fabs() or abs(). - Cal
