[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 08:41:19 EDT 2013
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
More information about the Gambit-list
mailing list