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 (April 2012, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 19 Apr 2012 08:47:27 -0400
Reply-To:   Steven Raimi <sraimi@MARKETINGASSOCIATES.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Steven Raimi <sraimi@MARKETINGASSOCIATES.COM>
Subject:   Re: any difference between format templates '9.00' and '9.99'

From the PROC FORMAT documentation:

Digit selectors are numeric characters (0 through 9) that define positions for numeric values. *****A picture format with nonzero digit selectors prints any leading zeros in variable values; picture digit selectors of 0 do not print leading zeros in variable values.***** If the picture format contains digit selectors, then a digit selector must be the first character in the picture.

(me) I don't know if that applies to trailing zeros. If your value is always greater than 1, you may have no effective difference. If the value is between 0 and 1, either version of your picture format will have the leading zero.

Steven Raimi


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