A compound revenue calculation tool in hta format