Click the Cat to enter a number. The answer should always be correct but please comment any failures. Feel free to check the code. Update: re-edited code after trying to build another converter.
Again inspired by the challenge set by my friend, based on my recent IT lesson.