<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks, that helps.<br>
<br>
<br>
Jorge Godoy wrote:
<blockquote cite="mid87vez3gxjw.fsf@jupiter.g2ctech" type="cite">
  <pre wrap="">Johan Geldenhuys <a class="moz-txt-link-rfc2396E" href="mailto:johan@accesstel.co.za">&lt;johan@accesstel.co.za&gt;</a> writes:

  </pre>
  <blockquote type="cite">
    <pre wrap="">Now that I have the answer (16.800000000000001), How do I round it of to 16.80
     ? I only need it to be to the closest 1/100.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <blockquote type="cite">
        <pre wrap="">print "%.2f" % 16.800000000000001
        </pre>
      </blockquote>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->16.80
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <blockquote type="cite">
        <pre wrap="">a = 16.8000000000001
b = "%.2f" % a
b
        </pre>
      </blockquote>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->'16.80'
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <blockquote type="cite">
        <pre wrap="">float(b)
        </pre>
      </blockquote>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->16.800000000000001
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <blockquote type="cite">
        <pre wrap="">str(float(b))
        </pre>
      </blockquote>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->'16.8'
  </pre>
  <pre wrap=""><!---->
(The reason for the '000000000001' is because of the numeric base used to
represent data -- binary -- and the numeric base I'm requesting the answer to
be in -- decimal.)


Be seeing you,
  </pre>
</blockquote>
</body>
</html>