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 (January 2007, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 4 Jan 2007 06:48:06 -0800
Reply-To:   jpc2006 <johncurrans@GMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   jpc2006 <johncurrans@GMAIL.COM>
Organization:   http://groups.google.com
Subject:   Is there a limit to the number of decimal places input?
Comments:   To: sas-l@uga.edu
Content-Type:   text/plain; charset="iso-8859-1"

Hi all,

This question is taking me too long to answer, but I'm sure one of you genius' out there can answer off the top of your head. I'm trying to input a numeric value that has 15 decimal places, but SAS appears to be only capable of inputing 14 decimal places. Now I realise that the 15th decimal place isn't very significant, but it's one of those situations where I'd prefer to be 100% accurate. Using SAS version 8.2.

Example: data test; informat var1 32.; format var1 32.16; input var1 32.; cards; 0.991549560889592 run;

When I open the test dataset, the 2 has been replaced with a 0. Is this a V8.2 limitation and I should just accept this?

thanks jpc

John.


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