LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (February 2006, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 9 Feb 2006 16:13:54 -0500
Reply-To:   Sigurd Hermansen <HERMANS1@WESTAT.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Sigurd Hermansen <HERMANS1@WESTAT.COM>
Subject:   Re: SAS handling Exponentials
Comments:   To: DaDoctor <brett.a.summers@bankofamerica.com>
Content-Type:   text/plain; charset="us-ascii"

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


Back to: Top of message | Previous page | Main SAS-L page