Using the bisection algorithm
Footnote
1
Also, the author is a pure mathematician and cannot bear to see only decimals!