How to safely parse the currency from table and compare if sum is higher than 19,90 ?
<tr class="Row1">
<td colspan="2" class="Column1 GrandTotal">Sum</td>
<td class="Money"><b>23,15 €</b></td>
</tr>
Assuming that you know that you always have two decimal digits and the same locale every time the following should work If not, then you’ll need to check first and do the division and separator extraction optionally depending on the locale. Note that it’s important to get the text so that you omit any enclosing HTML and get only the text nodes.