3 ms·
Continued fractions can be used to find best rational approximations. But you can also just use floor(x*10^n)/10^n.
by alanbernstein 3y ago
Continued fractions can be used to find best rational approximations. But you can also just use floor(x*10^n)/10^n.