Price selector
The price selector is one of the predefined type extractors in iText pdf2Data, and allows you to easily extract prices from a PDF.
Based on the content of the data field region, it defines the format that is used for prices in the document.
To be more precise:
- decimal separator,
- group separator,
- preceding or following currency sign.
That format is then used to find and extract matching values.
Best practices
To increase accuracy, the data field`s region should contain the price that contains as many of the following things as possible: currency sign, group, and decimal separators.Example
It is better to use $1,674.00 or $2,025.54 instead of $351.54,
As with all predefined type extractors it can be used together with the Pattern selector
List of selectors