Oh whoops. I forgot I was looking at replies to the chatgpt version and thought you were talking about the original code lol. In that case, this handles all of them wrong unless they are at exact 10% intervals as