[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to format exact rationals?

From: Sascha Ziemann
Subject: How to format exact rationals?
Date: Fri, 21 May 2010 14:45:48 +0200

Is this the intended behavior for exact rationals?

guile> (format #f "~f" (/ 1 3))

FORMAT: error with call: (format #f "~f<===" ===>1/3 )
        illegal character `/' in number->string

If so how to format them?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]