Added typecast to Integer.
Merge pull request #78 from tz-earl/fix-integer-typecast

Added Integer typecast