while true do
wait(0.25)
script.Parent.Text = game.Workspace.VehicleSeat.Velocity.X
end
I hate how it displays like 25.2562349856236892304643687436878476436 how can i get this down to only 25?
while true do
wait(0.25)
script.Parent.Text = game.Workspace.VehicleSeat.Velocity.X
end
I hate how it displays like 25.2562349856236892304643687436878476436 how can i get this down to only 25?
math.floor
math.floor will round any number down, meaning 25.9 will be 25 and 25.5 will be 25.
However, math.roof will round any number up.
Isn't math.round and math.floor the same?
math.round doesn't exist.
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
C'mon, everyone loves precise numbers.