Implemented getType() for all numbers