In other words, you're doing it wrong, but it's coming up with the right answer because of how the function is programmed.

You definitely need to watch for things like this. It'll come back to bite you or someone else down the road.