Table of Contents

Search

  1. Preface
  2. The Transformation Language
  3. Constants
  4. Operators
  5. Dates
  6. Functions
  7. Creating Custom Functions
  8. Custom Function API Reference
  9. POWERCENTERHELP

Transformation Language Reference

Transformation Language Reference

PV

PV

Returns the present value of an investment.

Syntax

PV(
rate, terms, payment
[,
future value, type
] )
The following table describes the arguments for this command:
Argument
Required/
Optional
Description
rate
Required
Numeric. Interest rate earned in each period. Expresses as a decimal number. Divide the rate by 100 to express it as a decimal number. Must be greater that or equal to 0.
terms
Required
Numeric. Number of period or payments. Must be greater than 0.
payments
Required
Numeric. Payment amount due per period. Must be a negative number.
future value
Optional
Numeric. Cash balance after the last payment. If you omit this value, PV uses 0.
types
Optional
Boolean. Timing of the payment. Enter 1 if payment is at the beginning of period. Enter 0 if the payment is at the end of period. Default is 0. If you enter a value other than 0 or 1, the
PowerCenter Integration Service
treats the value as 1.

Return Value

Numeric.

Example

The following expression returns 12,524.43 as the amount you must deposit in the account today to have a future value of $20,000 in one year if you also deposit $500 at the beginning of each period:
PV( 0.0075, 12, -500, 20000, TRUE )