Back to List
Placeholder | Replace With |
num | A number value, such as a Number variable, to be raised to a power |
num | The exponent (or number that indicates the operation of repeated multiplication) |
The power expression generates a numeric value, based on a given exponent.
For example, say you want to calculate the future value of an investment:
power( ( 1 + AnnualRateOfReturn ), NumberOfYears ) * AmountInvested
HotDocs adds 1 to AnnualRateOfReturn and then raises it to the power of NumberOfYears. It then multiplies that number by AmountInvested.
Back to List