num = "45.67e+35"
modifiednum = string.format(".0f", num)
for _,p in pairs(game.Players:GetPlayers()) do
p.PlayerGui.ScreenGui.TextLabel.Text = modifiednum
end
Why is this giving me roundoff error? It's supposed to give me the number without any decimal points.

1 comment
You can use math.ceil to round up