Fix for issue #49 [.] for languages with different decimal delimiters

Fix for issue #49 [.] for languages with different decimal delimiters

(first pull request, so let me know if I'm doing it wrong!)