<br><br><div><span class="gmail_quote">On 11/01/06, <b class="gmail_sendername">Mike Meyer</b> <<a href="mailto:mwm@mired.org">mwm@mired.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
"py" <<a href="mailto:codecraig@gmail.com">codecraig@gmail.com</a>> writes:<br>> Say I have...<br>> x = "132.00"<br>> but I'd like to display it to be "132" ...dropping the trailing
<br>> zeros...I currently try this</blockquote><div><br>
Is it likely that  x might not have any decimal
places?    If so all the above solutions fail when x
=130 except Matt Hammond's offering which splits x at the decimal point
if one exists.<br>
</div><br></div>