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 (November 2009, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 3 Nov 2009 15:05:26 -0500
Reply-To:     "Fehd, Ronald J. (CDC/CCHIS/NCPHI)" <rjf2@CDC.GOV>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Fehd, Ronald J. (CDC/CCHIS/NCPHI)" <rjf2@CDC.GOV>
Subject:      Re: how can I store a number greater than 8 bytes?
In-Reply-To:  <134ed6f0-28ee-467a-a6e2-40897e5da5dd@p19g2000vbq.googlegroups.com>
Content-Type: text/plain; charset=us-ascii

> From: newton > Sent: Tuesday, November 03, 2009 2:33 PM > Subject: how can I store a number greater than 8 bytes? > > I need to store a variable with numeric inputs greater than 8 bytes. > The output I see via proc print will give me scientific format as, for > example, 2.56E28. > I have tried format option, length option, and coveting the numeric > value into character, but I will still lose some precision. > Is there anyway I can create a variable that can store numeric value > greater than 8 bytes?

Length in bytes Mainframe Unix / PC 8 72,057,594,037,927,900 9,007,199,254,740,990

you have numbers greater than 9 ... zillion?

take your pick:

* you're working too hard

* you have the wrong computer

* you have the wrong software

http://www.sascommunity.org/wiki/Numeric_representation_issues_in_SAS

Mathematica?

http://www.wolfram.com/

Ron Fehd the scientific notation maven CDC Atlanta GA USA RJF2 at cdc dot gov


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