in reply to Re^3: Reverse engineering a formula...

in thread Reverse engineering a formula...

And as the information is financial in nature, the end-result is most probably rounded to two digits. So in fact these two numbers may well be part of the formula...

In fact, without knowing for sure how exactly rounding is done, you'll have to look for a 'fuzzy' match; the last few digits may be off. Perhaps rounding the target and the tested result to integers would be the best way to go about this.

On a side note. the two numbers below 0.01 are most probably percentages... So we may also need to do multiplication, which would make it an almost impossible task, mainly because this would mean we also have to take operator-precedence into account...

In Section
Seekers of Perl Wisdom