mirror of
https://github.com/magicbug/Cloudlog
synced 2026-08-13 17:49:35 -04:00
We can store distance with decimal places
This commit is contained in:
parent
386e0977e9
commit
69e0bbdbaa
1 changed files with 2 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue