Thread: 0 is a no show.
View Single Post
  #8  
Old 03-06-2007, 09:46 PM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Quote:
Originally Posted by Skyld View Post
Or even perhaps:
PHP Code:
Master_Gui_Text.setText(int(currentexp)); 
If you wanted a integer, yes. But his exp may (though I doubt it) include decimals.

I still like max() though. One of my favorite functions for math related things
I always see people doing all these integrated equations (the whole # > # ? # : # method) when they could simply use a combination of min(), max(), abs(), int() and the % symbol (not every case, obviously).
__________________
Do it with a DON!
Reply With Quote