Unexpected behaviour when changing a property from a local function (SOLVED)

Also, read about floating point numbers. As you noticed, it comes up more often than you’d think, and it’s a good thing to understand.