Fix FormatException when converting string to float caused by incompatible culture and decimal separator