[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 08:17:39 EDT 2013


> (number->string (exact->inexact (/ 1 10000)))
"1e-4"
> (number->string (/ 1 10000))
"1/10000"


The same with other similar values such as 0.00085 .
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20130501/78758a4b/attachment.htm>


More information about the Gambit-list mailing list