Update converter.java

Added precision on error
Merge pull request #1 from robusta-code/master

Update converter.java