replaced isnumber() with isdigit().
Merge pull request #7 from imgonkim/master

replaced to isdigit()