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 2002, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 16 Jan 2002 13:46:13 -0500
Reply-To:     Roger Lustig <rlustig@CBDCREDIT.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Roger Lustig <rlustig@CBDCREDIT.COM>
Organization: Creative Business Decisions, Inc.
Subject:      Re: I need your help... Placing decimal in New Value
Content-Type: text/plain; charset=us-ascii; format=flowed

sample1 = sample1 / 10**decimal;

AT wrote:

> Hi! > > I have this following dataset decimal (char field) and sample1 (char > field). > > decimal Sample1 > 3 0049 > 2 0051 > 3 0125 > > decimal is the number of place needs to move for Sample1 which read > from right to left. > > so for decimal=3 than sample1 = 0.049 > > I would like my output to look like this: > > Sample1 > 0.049 > 00.51 > 0.125 > > How can I do this? Please help. > > AT >


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