You won't need an OCR if you have the number in a text file or in a PDF file.
In the case of the text file, a simple Perl program will suffice, in the case of the PDF file, you will have to resort to one of the
PDF modules, which I mentined above, but again: you will
not need OCR in this case.
If this does not help you, I would suggest you to read
How (Not) To Ask A Question and then restate qour question in a way which is better to understand as a reply to your original post.
Cheers,
CombatSquirrel.
Entropy is the tendency of everything going to hell.