Decimal Places in Attributes

Stephen King sdk at HARTLEYANDERSON.COM
Thu Feb 24 07:13:23 EST 2005


Hi,
Can anyone tell me how to control the number of decimal places that are
displayed by MapServer in an attributes template file? For example, I have
a Shapefile that has two attributes called Eastings and Northings. When I
do a query on a point using MapServer, these are output as
574074.31920000003 6599349.41849999970, I would like to show these to only
two decimal places.
Thanks,
Stephen



More information about the mapserver-users mailing list