;; To quickly convert a mixed number to an improper fraction, ;; multiply the denominator;; by the whole number and add to the numerator(=(+203/4)(rationalize(/(+(*204)3)4)));; => true
Log in to add an example
See Also
No see-alsos for clojure.core/rationalize
Log in to add a see-also
1 Note
By , created 11.3 years ago
Remember that for irrational numbers, like sqrt 2, this is only an estimate (pretty good one).