Theory: The E-series (E12, E24, E96) is a system of preferred numbers derived for electronic components. The code calculates the logarithmic steps to find the closest standard value to your target. Read more on Wikipedia