Really? I get 4x = 20 returns 5. Ok I\'ve replaced the code with the one I have exactly. I then deleted my code and pasted the one on here and it still gave me 5. So the one uploaded is definitely the right one now. Sorry about the mix up :)
ty for testing it though
TropNul I have added comments to my code to how it works. If you need anything else clearing up just let me know.