Fixed issue parsing floats on certain languages

They parsed numbers with decimals with , and if they had . it failed. It
parses with the english culture settings now.