I ran across this while editing http://clojure-examples.appspot.com:
user=> (bigint 1)
1
user=> (bigint 1.5)
1
user=> (bigint "1")
1
user=> (bigint "1.5")
java.lang.NumberFormatException: For input string:
"1.5" (NO_SOURCE_FILE:0)
Since 1.5 coerces to 1, shouldn't "1.5" also coerce to 1?
user=> *clojure-version*
{:interim true, :major 1, :minor 2, :incremental 0, :qualifier
"master"}
Bill Smith
Austin, Texas
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en