I have some code for a sliding GUI and need to check if the number entered into a text box is a multiple of 0.05 from 0 to 0.9.
I check for this by using modulus: if num % 0.05 == 0 then print(num) end
num being the input in the text box.

When I enter 0.3, 0.6 and 0.7, I am given an output of 0.05.
I also typed in a calculator 0.7%0.05, which still gave me 0.05.

I tried many other numbers such as 0.15, 0.5 etc. which still gave 0.05.