double to double assignement

Asturias
Posts: 3
Joined: Thu Dec 01, 2016 4:01 pm

double to double assignement

Postby Asturias » Tue Jan 03, 2017 1:20 pm

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

Who is online

Users browsing this forum: Baidu [Spider] and 56 guests