On Jul 16, 2009, at 11:50 AM, Laurent PETIT wrote:

what do you mean ? For what I know, the output streams have nothing to do with formatting ?

You're right, Laurent, thanks for the correction.

REPL output is printed using prn which (for Doubles) ultimately calls ".toString" on the Double object. It's there that scientific notation is used for some numbers based on their magnitude:

        user=> (.toString 0.1)
        "0.1"
        user=> (.toString 0.01)
        "0.01"
        user=> (.toString 0.0001)
        "1.0E-4"
        user=> (class 0.01)
        java.lang.Double
        user=>

--Steve

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to