Trying to gsub() out "."

When I do this my string becomes empty

image
my code

image
what it says when I print it
I just want to remove a period from my string as this is testing reaction time and it’s measured in milliseconds so it shouldn’t have a period

1 Like

ah wait nevermind if I just string.format(“0.0f”) instead there would be no decimals