Date: Fri, 21 Dec 2007 14:51:02 -0500
Reply-To: Chang Chung <chang_y_chung@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Chang Chung <chang_y_chung@HOTMAIL.COM>
Subject: Re: HELP - NEED A SAS ROUTINE TO HANDLE SUBTRACTION on LARGE
NUMBERS
On Fri, 21 Dec 2007 14:22:40 -0500, Charles Patridge
<Charles_S_Patridge@PRODIGY.NET> wrote:
...
>so I am looking for anyone who has encountered this problem and has a
>routine to subtract VERY LARGE #s and balance to the penny. If so, I am
>will ing to share my ADDITION routine.
...
hi,
Why not take advantage of the BigInteger class in java? Here is an old post
of mine -- it should be much easier to extend the adopter to have the
subtract method. hope this helps.
http://www.listserv.uga.edu/cgi-bin/wa?A2=ind0407A&L=sas-l&P=R25990&D=1&H=0&O=D&T=1
cheers,
chang
|