atof() works depending on the locale. The usage of periods is hardcoded, though.
Proposed patch attached.
Log in to post a comment.