Hi Denis,
>What would be the best way to obtain that original amount?
If you not store the result with
grandresultDecimals = originalDecimals+2+3
then you cannot obtain that original amount.
But VFP Rounding problem do this task impossible.
Example:
original 150.10 ( 2 decimals )
150.10*1.07 => 160.61 ( true is 160.6070 )
160.61*1.075 => 172.66 ( true is 172.6525250 )
round(172.66/1.075/1.07,2) =>> 150.11
If you want a council,
not to invert arithmetical operations in order to obtain the values begins them;
Store or recompute the original amount.
Fabio