
47 posts
joined
#1
Decimal Rounding/Displaying as Game Text
Well i have this trigger in my map that displays the life of the hero, but it shows it as a decimal. for example it would display
Heros life = 250.00
is there a way i can change it to be just 250 without the .00?
thanks guys.
77 posts
joined
#2
Convert it to an interger before displaying it.

47 posts
joined
#3
NVM I OWN LIFE.

1,007 posts
Warsaw, Poland [@Northrend]
joined
#4
Convert it to integer, then to string or either covert it to string and use Substring function to cut off the ".00".