RosettaCodeData/Task/Formatted-numeric-output/Clojure/formatted-numeric-output-2.clj

2 lines
90 B
Clojure

(printf "%09.3f" 7.125) ; format works the same way (without side the effect of printing)