clojure.core/rationalize¶
returns the rational value of num
Examples¶
Note by wikopl¶
Remember that for irrational numbers, like sqrt 2, this is only an estimate (pretty good one).
Content from the matching ClojureDocs page, with authors credited on each contribution.