We can store distance with decimal places

This commit is contained in:
phl0 2023-06-15 21:37:01 +02:00
parent 386e0977e9
commit 69e0bbdbaa
No known key found for this signature in database
GPG key ID: 48EA1E640798CA9A

View file

@ -977,7 +977,7 @@ class Logbook extends CI_Controller {
$distance = $this->qra->distance($mylocator, $locator, 'K');
echo round($distance, 0);
echo $distance;
}
return 0;
}
@ -1039,7 +1039,7 @@ class Logbook extends CI_Controller {
$distance = $this->qra->distance($mylocator, $locator, 'K');
}
return round($distance, 0);
return $distance;
}
function qralatlng($qra) {