<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2448.0">
<TITLE>RE: [LCP]Rounding questions</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>> That returns "390.000000", and is similar (but not exactly </FONT>
<BR><FONT SIZE=2>> the same) to</FONT>
<BR><FONT SIZE=2>> what I was doing before that had a strange bug (apart from </FONT>
<BR><FONT SIZE=2>> the fact that</FONT>
<BR><FONT SIZE=2>> that would have to be modified to work with negative numbers).</FONT>
</P>
<P><FONT SIZE=2>Really ? I had a quick thought about it, then realized that it</FONT>
<BR><FONT SIZE=2>was fine. You want the nearest number to the one you give, right ?</FONT>
<BR><FONT SIZE=2>Now that I think of it, it would probably fail for large numbers,</FONT>
<BR><FONT SIZE=2>as the addition of 0.5 to it would be NOP.</FONT>
</P>
<P><FONT SIZE=2>-- </FONT>
<BR><FONT SIZE=2>Vincent Penquerc'h </FONT>
</P>
</BODY>
</HTML>