Checks if a number is a decimal or not.
This is a very simple project. I mainly did it just to do it. :)