Label shows inaccurate numbers and not the exact value

Why is the Label showing this weird numbers and not the Value in the player:
1

Thats the value in the player:
2

Thats the script in my label:

while (1) do wait()
	script.Parent.Text = game.Players.LocalPlayer.PetEffect.Multi.Value
	end

what ur value u wanna put on the board

You can use,
tonumber(string.format("%." .. (1) .. "f", game.Players.LocalPlayer.PetEffect.Multi.Value))

I’m not sure why you’re concatenating the format option together, you can just use "%.1f".

1 Like