Finance app variables – HP Prime Graphing Wireless Calculator User Manual

Page 322

Advertising
background image

318

Programming in HP PPL

Finance app

variables

The following variables are used by the Finance app. They
correspond to the fields in the Finance app Numeric view.

CPYR

Compounding periods per year. Sets the number of
compounding periods per year for a cash flow
calculation. From the Numeric view of the Finance app,
enter a value for C/YR.
In a program, type:

CPYR

where

BEG

Determines whether interest is compounded at the
beginning or end of the compounding period. From the
Numeric view of the Finance app, check or uncheck End.
In a program, type:

1

BEG—for compounding at the end of the period

(Default)

0

BEG—for compounding at the beginning of the period

FV

Future value. Sets the future value of an investment. From
the Numeric view of the Finance app, enter a value for FV.
In a program, type:

FV

Positive values represent return on an investment or loan.

IPYR

Interest per year. Sets the annual interest rate for a cash
flow. From the Numeric view of the Finance app, enter a
value for I%YR.
In a program, type:

IPYR

where

NbPmt

Number of payments. Sets the number of payments for a
cash flow. From the Numeric view of the Finance app,
enter a value for N.
In a program, type:

NbPmt

where

n

n

0

>

n

n

n

0

>

n

n

0

>

Advertising