(format nil "~D" 4.2)

Manuel Giraud <[email protected]> Wed, 24 Jun 2026 18:31:11 +0200
Newsgroups gmane.lisp.steel-bank.devel
Message-ID <[email protected]>
Hi (and sorry for the previous empty message),

It is said here:

https://www.lispworks.com/documentation/HyperSpec/Body/22_cbb.htm

That: "~D will never put a decimal point after the number."

But sbcl, happily, does (format nil "~d" 4.2) => "4.2".  Is it a bug or
a feature of sbcl?
-- 
Manuel Giraud