Fixed issue #8857: Fixed issue of type casting and return number value
Merge pull request #184 from ravindrakhokharia/master

Fixed issue #8857: Fixed issue of type casting and return number value