I’m trying to find multiples of 5 in variables, can anyone show me an equation or expression? I’m not the greatest at math and would love some help.

I’d divide each one by five and see if each one matches up to it’s `math.floor`

equivelant.

so something like

local x = variable/5

math.floor(x)

?

local x = math.floor(x/5)*5

Think that’ll work.

```
local numbers = {1.1, 3.7, 4.5, 9.7, 50}
for i, v in pairs(numbers) do
local x = v / 5
print(x == math.floor(x))
end
```

Only the last one would be true.