Using the offset terminals we can remove this offset. Calculate Vos using the gain of the amplifier. The middle pin should go to the voltage. Now replace your resistor with 100K from the positive terminal to ground and calculate IB from the output voltage. The circuit used as the input stage of the op-amp is a differential transistor circuit.
Some devices give a current as the output.
One of these is a photodiode. The photodiode produces a current proportional to the amount of light on its surface. An op-amp can be used to convert this current to a voltage. Wire the circuit shown above. Comparator Op-amps can also be used as a comparator.