We know from Ohm's law that voltage is equal to current times resistance, and in fact, an ordinary resistor can be used as a current-to-voltage converter\u2014if you connect a resistor to a current source, the resistor will generate a voltage that is equal to the current multiplied by the \u201cgain,\u201d i.e., the resistance.