Tuesday, 22 November 2011

Rule 72

---In finance, the rule of 72, the rule of 70 and the rule of 69 are methods for estimating an investment's
--doubling time. The rule number is divided by the interest percentage per period to obtain the approximate
-- number of periods (usually years) required for doubling.
DECLARE
--- Rule 72
ROI     NUMBER:=12;
TERM    NUMBER;
MONTHS  NUMBER;
AMT     NUMBER;
BEGIN
TERM:=72/ROI;

dbms_output.put_line('Total Time in years :'||TERM);
dbms_output.put_line('Total months '||72*12/ROI);
dbms_output.put_line('---------------------------------- ');
dbms_output.put_line('                                   ');


END;

No comments:

Post a Comment