Health GUI text showing crazy decimals

Hello, I recently made a GUI that determines the players health and it works a little too well while healing?
image

I was thinking about rounding the number but I’m not sure how to do that.
Here’s my script

When I make a HP GUI like this I normally use math.floor(value)

image

Maybe there are some alternatives right there but I’m satistfied with it.

Here’s the whole documentation for math
math

2 Likes

Thank you, I used math.floor and got it working

1 Like