[mapguide-users] Scientific Notation in Area

GordonL gordon.luckett at arrowgeomatics.com
Wed Nov 27 09:52:11 PST 2013


Hi All, how do I switch the notation for the Area of geometry in the API?

$geom =  $featureReader->GetGeometry($layer->GetFeatureGeometryName());
$gfReaderWriter = New MgAgfReaderWriter;
$featureGeometry = $gfReaderWriter->Read($geom);

 echo $featureGeometry->GetArea();

It echoes as: 2.0134011421221E-7 
for example.

I have tried php's number_format etc.






--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Scientific-Notation-in-Area-tp5091536.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list