Try Alex Shinn's fmt:
http://synthcode.com/scheme/fmt/
Brad
On May 1, 2013, at 8:17 AM, Mikael mikael.rcv@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@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list