[Mapserver-users] [off-topic] Rounding decimal places

Eduardo Patto Kanegae eduardo at linkgeo.com.br
Sun Jul 6 10:00:23 PDT 2003


This is a multi-part message in MIME format.

------=_NextPart_000_007F_01C343C6.F21AE3E0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

When I do a query, MapServer template pages return values like

87234.000

but this "zeros" aren't necessary.

Is there a way of not displaying these ones?

Eduardo

------=_NextPart_000_007F_01C343C6.F21AE3E0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2723.2500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>When I do a query, MapServer template =
pages return=20
values like</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>87234.000</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>but this "zeros" aren't =
necessary.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Is there a way of not displaying these=20
ones?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Eduardo</FONT></DIV></BODY></HTML>

------=_NextPart_000_007F_01C343C6.F21AE3E0--




More information about the MapServer-users mailing list