<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2604" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Arial size=2>Ryan,</FONT></DIV>
<DIV><FONT face=Arial size=2>Thanks for your help. Unfortunately I'm still not
having any success. Here's a bit of code from my attributes
template:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>...</FONT></DIV>
<DIV><FONT face=Arial size=2><tr valign="top" class="style3"><BR><th
width="110" align="right" bgcolor="#E7E7CF" scope="row"><span
class="style3">Camera Easting </span></th><BR><td
bgcolor="#F8F8F1"><span
class="style3">[Camera_Eas]</span></td><BR></tr></FONT></DIV>
<DIV><FONT face=Arial size=2>...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Where should I insert the javascript?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks again,</FONT></DIV>
<DIV><FONT face=Arial size=2>Stephen</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>----- Original Message ----- </FONT>
<DIV><FONT face=Arial size=2>From: "Ryan, Adam" <</FONT><A
href="mailto:ARyan@co.linn.or.us"><FONT face=Arial
size=2>ARyan@co.linn.or.us</FONT></A><FONT face=Arial size=2>></FONT></DIV>
<DIV><FONT face=Arial size=2>To: "'Stephen King'" <</FONT><A
href="mailto:sdk@HARTLEYANDERSON.COM"><FONT face=Arial
size=2>sdk@HARTLEYANDERSON.COM</FONT></A><FONT face=Arial size=2>>;
<</FONT><A href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU"><FONT face=Arial
size=2>MAPSERVER-USERS@LISTS.UMN.EDU</FONT></A><FONT face=Arial
size=2>></FONT></DIV>
<DIV><FONT face=Arial size=2>Sent: Thursday, February 24, 2005 4:22
PM</FONT></DIV>
<DIV><FONT face=Arial size=2>Subject: RE: [UMN_MAPSERVER-USERS] Decimal Places
in Attributes</FONT></DIV></DIV>
<DIV><FONT face=Arial><BR><FONT size=2></FONT></FONT></DIV><FONT face=Arial
size=2>> <BR>> Stephen,<BR>> <BR>> You could try grabbing them in a
small javascript, round the values, and<BR>> then placing them into the html
element. Something like this...<BR>> <BR>> ...<BR>>
<script>document.getElementById("Northing").innerHTML =
Math.round(<BR>> [Northing] * 100 ) / 100;</script><BR>> <span
id="Northing"></span><BR>> ...<BR>> <BR>> Cheers,<BR>>
<BR>> Adam <BR>> <BR>> <BR>>> -----Original
Message-----<BR>>> From: Stephen King [mailto:sdk@HARTLEYANDERSON.COM]
<BR>>> Sent: Thursday, February 24, 2005 4:13 AM<BR>>> To: </FONT><A
href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU"><FONT face=Arial
size=2>MAPSERVER-USERS@LISTS.UMN.EDU</FONT></A><BR><FONT face=Arial
size=2>>> Subject: [UMN_MAPSERVER-USERS] Decimal Places in
Attributes<BR>>> <BR>>> <BR>>> Hi,<BR>>> Can anyone tell
me how to control the number of decimal <BR>>> places that are displayed
by MapServer in an attributes <BR>>> template file? For example, I have a
Shapefile that has two <BR>>> attributes called Eastings and Northings.
When I do a query <BR>>> on a point using MapServer, these are output as
<BR>>> 574074.31920000003 6599349.41849999970, I would like to show
<BR>>> these to only two decimal places. Thanks, Stephen<BR>>>
<BR>> <BR>></FONT></BODY></HTML>