Fixed bug which would crash the application when receiving an integer value
bigger that the target value to be converted. Solution was to perform such
truncation.
Updated documentation, tutorial and test cases.
Changed error message thrown.