|
Which branch is offering a 0.556821 daily interest rate?
-----Original Message-----
From: owner-sas-l@listserv.uga.edu [mailto:owner-sas-l@listserv.uga.edu]
On Behalf Of DaDoctor
Sent: Tuesday, February 07, 2006 1:18 PM
To: sas-l@uga.edu
Subject: SAS handling Exponentials
I am working with exponentials in my SAS code and I keep getting the
following error:
NOTE: Invalid argument(s) to the exponential operator "**" at line 6
column 4.
An example of the syntax is as follows:
data x;
a=.556821;
b=10000;
w=a**100;
x=a**365;
y=b**100;
z=b**365;
Basically the variable I am working with is a daily interest rate where
the value could be 5 -6 positions after the decimal point.
I thought the issue was with (SAS's) inability to handle the floating
point decimal value as I have. However I attempted to format the
variable "A" to 2.6 and still I can't get pass the error I am getting.
Any suggestions?
B
|