getLongitude() 공개 메소드

Return the entity's longitude
public getLongitude ( ) : float
리턴 float
예제 #1
0
 public function testLatLong()
 {
     // Coordinates for Elgg, Switzerland
     $lat = 47.483333;
     $long = 8.866667;
     $this->obj->setLatLong($lat, $long);
     $this->assertEquals($this->obj->getLatitude(), $lat);
     $this->assertEquals($this->obj->getLongitude(), $long);
 }