more decimal place

Hi everyone

i got an little problem i tried to save gps dates in an data base and use this dates in an other way so my probleim is

i got 2 numbers latitude and longitude from the gps and they looks like 1.23456789123456789 and i need to switch the position of the point like this 12.3456789123456789

so i treid

float number1 =1.23456789123456789;

float number2 =(number 1*10);

and i got an number : 12.345678900000000

is thare an posibility to get keep the last few digits

i read that is just posible with the arduino duo but i have a mega so maby somone now how i can fix this problem

is thare an posibility to get keep the last few digits

Not with 32 bit floats, no.
You could try 64 bit fixed point.

float number1 =1.23456789123456789;

A float can store 6 or 7 digits of precision. More in front of the decimal point means fewer after. This code is ridiculous.