[fixed #15] convert back to int result of operation
Merge pull request #17 from Miliox/bug-issue15

[fixed #15] convert back to int result of operation