cast value to int/float
Merge pull request #1 from ves/master

cast value to int/float