How do I get mit-scheme to return a floating point number?

scheme

Solution

An easy way would be to make sure that one of the numbers in the calculation is already a floating-point number:

> (/ 4.0 3)
1.3333333333333333

Another way would be to use `exact->inexact`:

> (exact->inexact (/ 4 3))
1.3333333333333333

Problem

(/ 4 3) returns 4/3 as an answer. What is the simplest way to get 1.3...?

Original source