ID:268897
 
proc/farenheit2celsius(Q as num)
Q-=32
Q*=5
Q/=9


:9
Whenever I call it, (like, farenheit2celsius(78)), it does nothing. :(
Please, I'm know I'm doing something stupid...
proc/farenheit2celsius(Q as num)
Q-=32
Q*=5
Q/=9
return Q


Return tells the proc what to end it with.

So now you can do things like:

var/temp = farenheit2celsius(78)
world << "The temperature is now [temp]"


*EDIT*

You spelt it wrong =P. It's fahrenheit.

If I were you, I'd call the proc F2C.
In response to DeathAwaitsU
Whoops, thanks Death. @[email protected]