On Mon, Apr 26, 2010 at 3:39 PM, Chris Rebert <span dir="ltr"><<a href="mailto:clp2@rebertia.com">clp2@rebertia.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div>"The conversion **exactly follows the rules for conversion to<br></div>
scientific numeric string** except in the case of finite numbers<br>
**where exponential notation is used.**"<br></blockquote><div><br>Well, then maybe the conversion doesn't exactly follow the rules, in this case.<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
The description of to-scientific-string explains exactly when it uses<br>
exponential notation, but it gets slightly technical and I'm not<br>
interested enough, nor do I have the time at the moment, to read the<br>
entire spec.</blockquote><div><br>I understand. Emphasise mine, here: (so you don't have to read the entire spec)<br><br>if the number is non-zero, the converted exponent is adjusted to be a<br>
multiple of three (engineering notation) by positioning the
decimal point<br>
with one, two, or three characters preceding it<b> (that is, the
part before<br> the decimal point will range from 1 through 999);<br><br></b>Perhaps this module could use some improvement. It is already very, very good.<br><br>Cheers,<br>Xav<br></div></div>