Online File

How to use this page


Rick Aster: Professional SAS Programming Shortcuts: Contents

Chapter 35
Program
30-year loan


DATA _NULL_;
   A = 115000;
   N = 360; * 30 years;
   P = MORT(A, ., .006875, N);
   TOTAL = P*N;
   INTEREST = TOTAL - A;
   PUT 'Principal' @16 A DOLLAR11.2
       / 'Interest' @16 INTEREST DOLLAR11.2
       / @16 '-----------'
       / 'Total Payments' @16 TOTAL DOLLAR11.2
       ;
RUN;

 O /\

Global
Statements

RICK ASTER

SAS

BOOKS

Tech | Dictionary

Download | Rastinate

Rick Aster

Professional SAS Programming Shortcuts

Contents/Online Files

Corrections

Catalog Page