I'm 110% sure there is Alex :) :lol: Yes it helps.... very much! It is being written in HTMLDB/ Application Express, which as you rightly say is a middleware/ front end for deploying web apps reading from Oracle.
Here is the select query.
select
(D2004 /(POWER((1 + (:DISC_1/100)),(2004 -...