cl-format is Clojure’s Common Lisp-style formatter for producing strings from values and formatting directives. It is useful when output needs more control than ordinary string construction, including decimal precision, padding, readable numbers, and conditional wording. section 1.5 section 18.1
Formatting a parsed balance
After parsing XML and converting the current balance to a number, (cl-format nil "~$" v) formats floating-point values while leaving other values unchanged. The resulting values can be combined with cleaned keys in a map.
