ID:174628
 
In my coding, I have weird numbers like 1.7e+006, thats like 1007000, how do I make it so it says 1007000 and not 1.7e+006?

If its num2text, where do I put that?
//Something like this
mob
var/score=1
verb/checkscore()
usr<<"Your score is [num2text(usr.score)]"

I hope you get the general idea.

~;)\)3();~
In response to NeoHaxor
No, I don't get it...because the num2text in my game is mainly for powerlevel.
In response to YellowDragon9768
Oh, I was just demonstrating how to use it in context. Take a peak at it again =).

~;)\)3();~
In response to NeoHaxor
I made it like this and still doesn't work

mob/Stat()
statpanel("Stats")
stat(src)
stat("Health:","[num2text(src.hp)] / [num2text(src.mhp)]")


If thats not it, please edit that to make it work, I am completley clueless about this num2text thing, pople just wanna understand their powerlevels, becasue the number goes into something like this(5e+006), that means 5000000, not everone knows that, and sometimes it gos into more complicated numbers.
In response to NeoHaxor
Ok forget it, I'm just going to have to wait to find a good num2txt code. My game is updated now.
In response to YellowDragon9768
In the case of thinking it was num2text(), you should have looked it up as it would have solved your problem right then in there. You just need to specify num2text()'s second arguement which tells it how look the number should be before putting it into scientific notation:

num2text(x,10) would display the number as long as it is under 10 digits long
In response to Nick231
Do i need num2text(x,10) for all my numbers above 10 digits or just one?