ID:175906
 
how can i round this number in my stats

stat("Level:","[num2text(level,0)]")

VegeanSX
round()
In response to Nadrew
no i mean do i leave num2text in or what
In response to VegeanSX
Yes.
In response to Nadrew
I tried this i made it so everytime I level up the exp goes up by X 1.5 and if on an odd number it rounds it up!!!
In response to Sonder
ok ive done everything and it still wont round it it says 3e+001
In response to VegeanSX
Your problem is that you're passing zero as the second argument to num2text(). If you look num2text() up in the reference, it defines the second argument as being the number of significant figures; if there are more digits in the number than that, it will use scientific notation. So when you set it to zero, it ALWAYS uses scientific notation - so you get 3e+001 instead of 30.

Take the ,0 bit out.
In response to Crispy
ok so how would u suggest i fix the problem
In response to VegeanSX
Gee, I wonder. Maybe it has something to do with the last sentence in his post?
In response to Crispy
o i didnt see that part