How do I disable rounding decimals on leaderboards?

For some reason when I add leaderstats it rounds the number up
Example:
I would have a object be worth 6.25 and when I sell it it would only give me 6.
Any help?

local function price()
	local RandomNumber1 = Random.new():NextNumber(3,5)
	local RandomNumber2 = Random.new():NextNumber(3,5)
	local RandomNumber3 = Random.new():NextNumber(3,5)
	local places = 2
	local number = RandomNumber1
	local mult = 10^places
	number = math.floor(number*mult)/mult
	local places = 2
	local number2 = RandomNumber2
	local mult = 10^places
	number2 = math.floor(number2*mult)/mult
	local places = 2
	local number3 = RandomNumber3
	local mult = 10^places
	number3 = math.floor(number3*mult)/mult
	script.Parent.Shop1.PriceVal.Value = number
	script.Parent.Shop2.PriceVal.Value = number2
	script.Parent.Shop3.PriceVal.Value = number3
	script.Parent.Shop1.Price.PlayerName.Text = "$"..number
	script.Parent.Shop2.Price.PlayerName.Text = "$"..number2
	script.Parent.Shop3.Price.PlayerName.Text = "$"..number3
end
db = false
local function Sell(Name, Price)
	if db == false then
		local gameStats = game.Players:FindFirstChild(Name).leaderstats
		if gameStats.Pumpkins.Value >=1 then
			db = true
			script.Parent.Sell:Play()
			gameStats.Coins.Value = gameStats.Coins.Value + Price
			gameStats.Pumpkins.Value = gameStats.Pumpkins.Value - 1
			wait(0.1)
			db = false
		else
			db = false
		end
	end
end
script.Parent.Shop1.ClickDetector.MouseClick:Connect(function(plr)
	Sell(plr.Name, script.Parent.Shop1.PriceVal.Value)
end)
script.Parent.Shop2.ClickDetector.MouseClick:Connect(function(plr)
	Sell(plr.Name, script.Parent.Shop1.PriceVal.Value)
end)
script.Parent.Shop3.ClickDetector.MouseClick:Connect(function(plr)
	Sell(plr.Name, script.Parent.Shop1.PriceVal.Value)
end)
price()
while true do
	wait(20)
	price()
end

You’re likely using IntValues. IntValues only accept integers, so when they’re set to a double (a decimal number) they get rounded. NumberValue objects, on the other hand, accept decimal values without rounding them. If you’re using ROBLOXs default leaderboard, I don’t know if they’re compatible, but it’s still worth a try

No I use number values the leaderboard is for some reason rounding them up.
Screen Shot 2022-10-04 at 4.22.43 PM

I believe if you want decimals, you will need to use Ordered Datastore.