Page 1 of 1

double to double assignement

Posted: Tue Jan 03, 2017 1:20 pm
by Asturias
Hi,
I need some help.

I want make my cat tracker using GPS and SIM 800 L

From tinygpsplus: gps.location.lat() give me 44.75704

When I do:

double lat;
lat = gps.location.lat()

I get : 44.76 instead of 44.75704

What I have to do ,

Thank you
Salutations