Longitude and Lattidue are integer instead of flot in fit::RecordMesg

Former Member
Former Member

Hi,

       I have generated the fit file while running the demo example file. 

fit::RecordMesg recordMesg;
recordMesg.SetPositionLong((FIT_SINT32)(107.173));	

But, on the fit file it was viewing it as 0.000009 instead of the value mentioned above.

Is that any converstion happening while moving to .fit file. 

Same goes for Lattitude recordMesg.SetPositionLat(value);

And, usually, lattitude and longitude takes float value. But, here its requesting for int.