Storing latitute and longitude using a double

Dacha011:
Is there a data type, except string, that will precisely save a number like 50.123456 ?

Yes, it's called a scaled integer, or "fixed point". Basically you just store the number multiplied by a constant scale. In your calculations, you take into account the scale. So you store 50.123456 as the integer 50123456. Here the scale factor is decimal 1000000.