Doubles not allowed in data stores

Script keeps showing error saying that doubles is not allowed in data stores.
I have tried changing when they all refresh and making all of the datastore names different for each leaderboard.

Regular leaderboard script. I have 3 more that work normally.

local DataStore = game:GetService'DataStoreService'
local OrderedDataStore = DataStore:GetOrderedDataStore('TimeLeaderboard')
local cache = require(game.ServerScriptService.ProfileCacher)

local refreshTime = 3

local ResetTimer = script.Parent.Parent.ResetTimer

while true do
	wait(1)
	refreshTime -= 1
	ResetTimer.Text = "Leaderboard refreshes in " .. refreshTime .. " seconds!"

	if refreshTime == 0 then
		refreshTime = 63

		for index, plr in pairs(game.Players:GetChildren()) do
			local profile = cache[plr]
			if profile ~= nil then
				OrderedDataStore:SetAsync(plr.UserId, profile.Data.HighestTime) -- errors this line
			end
		end

		for index, list in pairs(script.Parent:GetChildren()) do
			if list.ClassName == 'Frame' then
				list:Destroy()
			end
		end
-- rest of script not here

Problem is you are using an ordered data store, which can only store integers

Try just flooring the number with math.floor() and storing that