[gambit-list] How convert 0.0001 to string so it becomes "0.0001" (and not "1e-4" or "1/10000")?

Mikael mikael.rcv at gmail.com
Wed May 1 09:03:22 EDT 2013


Do you see reasons to believe that fmt will perform well on Gambit, out of
the box?


Tara has a Black Hole port she'll send soon btw. Do you have a Gambit port?

2013/5/1 Bradley Lucier <lucier at math.purdue.edu>

> Try Alex Shinn's fmt:
>
> http://synthcode.com/scheme/fmt/
>
> Brad
>
> On May 1, 2013, at 8:17 AM, Mikael <mikael.rcv at gmail.com> wrote:
>
> > > (number->string (exact->inexact (/ 1 10000)))
> > "1e-4"
> > > (number->string (/ 1 10000))
> > "1/10000"
> >
> >
> > The same with other similar values such as 0.00085 .
> >
> >
> > _______________________________________________
> > Gambit-list mailing list
> > Gambit-list at iro.umontreal.ca
> > https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20130501/fa127418/attachment.htm>


More information about the Gambit-list mailing list