I need some help on how to make my variables have decimals on them. (I.E: 45.6%, or 56.7)
Can any player be kind to assist me?
ID:165012
![]() Mar 10 2007, 10:39 am
|
|
I want to add decimals for things like this:[src.name]
I wanna also help make a percentage to them, also with decimals. Thats kind of my specification. |
mob If that isn't what you are talking about, you need to be more specific. |
To be a bit more specific, i'm trying to make Stamina read somewhat like 50.7, and when it lowers somewhat, it could lower like maybe 50.6 or something, but everytime i try to figure it out on my own, it only shows a lower until 1 number is fully depleted.
I just can't find out the right formulae to fix this. I've played other games that can do it, but i dunno how for me. Edit: Nevermind, i found out. |
- GhostAnime