Example numbers:

21130 & 21065


I want to check each number if EITHER of the two conditions is true:

1. if the third digit from the right (the hundreth place) is greater than zero;

or

2. if the second digit from the right (the tens place) is >=6.



If either is true I want to add a particular number to the original number.
My example numbers meet questions 1 & 2, respectively.

Any help on this?

Thanks again!