Hi, there,
I want to round my number to the nearest Hundredths place. Keep in mind it doesn’t always need to be rounded though, because sometimes it is in the hundredths or tenths place already. Here is an example on what I am meaning:
Script in Serverscriptservice
game.ReplicatedStorage.d.OnServerEvent:Connect(function(plr)
local ui = plr.PlayerGui.uiPAGE.Frame.vvvv
local text = plr.PlayerGui.uiPAGE.Frame.TextLabel
ui.Value = 1.77--This is probably not needed I will remove later
while true do
task.wait(2)
ui.Value += 1.77
text.Text = "Cost "..ui.Value
end
end)