use double for TPG and GeoPos