Double is not stored correctly in MySQL database

I have an MVC application which has a restful service that updates latitude and longitude to the database. I am sending the values to the API as string and its converted to Double before it is stored in database as Double. Here is the code I am using to convert string to double:

Parse method uses a culture-specific decimal point symbol and group-separator symbol. In some languages (e.g. English) decimal point symbol is a dot whereas in others (e.g. Polish) it's a comma. Group-separator symbols are also different in various languages.

If 53.345634 is parsed as 53345634, your computer uses a culture where dot is a group-separator.

You should also think if you want to use Parse of TryParse - if during normal operation your program expects invalid output (e.g. it a user-provided value), you should definitely use TryParse (which does not throw exceptions) and inspect returned value (TryParse returns a boolean indicating whether parsing was successful). If the value that you are parsing should never be wrong (e.g. you are parsing resources that bounded with your program) you can use Parse and catch appropriate exceptions. According to documentation possible exceptions are: ArgumentNullException, FormatException and OverflowException.

Email codedump link for Double is not stored correctly in MySQL database