Hello.
I’m trying to make a round system, and this is the timer script.
It’s made to countdown from 10 to 0 with an interval of 0.1, however roblox displays this:
Is there any way to display this as 4.5 instead of 4.50000000…195?
Might be because of the new string system, just use math.round()
Add this to your loop.
TimerValue.Value = string.format("%.1f", i)
In computing this is caused due to floating point precision errors (not enough available bits to accurately represent the number).
Formatting the number to 1 decimal place (as the previous solution did) is the most appropriate fix for this.