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

Bradley Lucier lucier at math.purdue.edu
Wed May 1 09:08:30 EDT 2013


Alex is a very good programmer (don't tell him I said that), so my guess is that it will work well out of the box.

Brad

On May 1, 2013, at 9:03 AM, Mikael wrote:

> 
> 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/e4c9e97b/attachment.htm>


More information about the Gambit-list mailing list