<div dir="ltr">Hi, again.<div><br></div><div>Following a response I got from <span style="color:rgb(32,33,36);font-size:0.875rem;letter-spacing:0.2px;white-space:nowrap"><font face="Roboto, RobotoDraft, Helvetica, Arial, sans-serif">Dmitry Klionsky, perhaps it makes sense for </font><b><font face="tahoma, sans-serif">float_to_list(N)</font></b><font face="Roboto, RobotoDraft, Helvetica, Arial, sans-serif"> to be made into a wrapper for</font></span><span style="color:rgb(32,33,36);font-size:0.875rem;font-weight:bold;letter-spacing:0.2px;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;white-space:nowrap"> </span><b><font face="tahoma, sans-serif">lists:flatten(io_lib:format("~p",[N]))?</font></b><br><div><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div><div><br></div><div>Eshell V11.1 (abort with ^G)<br>1> N = 4.4445.<br>4.4445<br>2> lists:flatten(io_lib:format("~p",[N])).<br>"4.4445"<br>3> P = 5.4443.<br>5.4443<br>4> lists:flatten(io_lib:format("~p",[P])).<br>"5.4443"<br>5> Q = 1.2345678.<br>1.2345678<br>6> lists:flatten(io_lib:format("~p",[Q])).<br>"1.2345678"<br>7> float_to_list(Q).<br>"1.23456779999999999298e+00"<br>8> <br></div><div><br></div><div>Regards</div><div> </div><div><strong>Themba Jonga</strong></div><div><font size="1"></font> </div></div></div></div></div><br></div><div id="m_1222824999368714802DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top:1px solid #d3d4de">
<tbody><tr>
<td style="width:55px;padding-top:13px"><a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png" alt="" width="46" height="29" style="width:46px;height:29px"></a></td>
<td style="width:470px;padding-top:12px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virus-free. <a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" style="color:#4453ea" target="_blank">www.avg.com</a>
</td>
</tr>
</tbody></table><a href="#m_1222824999368714802_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 5 May 2021 at 18:38, Scott Ribe <<a href="mailto:scott_ribe@elevated-dev.com" target="_blank">scott_ribe@elevated-dev.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> On May 5, 2021, at 10:20 AM, <a href="mailto:2QdxY4RzWzUUiLuE@potatochowder.com" target="_blank">2QdxY4RzWzUUiLuE@potatochowder.com</a> wrote:<br>
> <br>
> In short, no.<br>
<br>
Although many (most, actually nearly all) real numbers cannot be represented precisely as a float, any float can be round-tripped to text and back exactly. This is part of the IEEE floating point standard, actually. (And it's not easy...)<br>
<br>
<br>
</blockquote></div>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top:1px solid #d3d4de">
<tr>
<td style="width:55px;padding-top:13px"><a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png" alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
<td style="width:470px;padding-top:12px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virus-free. <a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank" style="color:#4453ea">www.avg.com</a>
</td>
</tr>
</table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div>