Fixed double parsing

Doubles will now be parsed correctly independant of current locale.