Date: Tue, 25 May 2004 14:36:20 -0700
Reply-To: Dale McLerran <stringplayer_2@YAHOO.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Dale McLerran <stringplayer_2@YAHOO.COM>
Subject: Re: Covetring a number to GB.
In-Reply-To: <s0b37608.095@CONEM11.CMS.HHS.GOV>
Content-Type: text/plain; charset=us-ascii
Kevin,
Why don't you show your code. I have no trouble formatting
GIGAXFER when GIGAXFER is computed as
GIGAXFER = BXFER * 1073741824;
(which is the conversion you show below) or when GIGAXFER is
computed as
GIGAXFER = BXFER / 1073741824;
Note that the latter computation would conform to your stated
problem (you state "I want to divide this [bxfer] by '1073741824'
to get gigabytes") and is the correct conversion of bytes to
gigabytes.
Dale
--- Kevin Clark <KClark@CMS.HHS.GOV> wrote:
> Hello all,
>
> My problem.
>
> I have a field BXFER PIB8. " number of bytes transferred" . . I
> want to divide this field by "1073741824" to get gigabytes . When
> I
> simply print BXFER I get 3.6029E17
>
> So I try : INPUT @106 BXFER PIB8.
>
> GIGAXFER = BXFER x 1073741824;
>
> Format GIGAXFER ????????;
>
> what should my format be ?
>
> I have tried several combinations and keep getting missing values.
>
> Kevin ( I trying to do my own homework) Clark
=====
---------------------------------------
Dale McLerran
Fred Hutchinson Cancer Research Center
mailto: dmclerra@fhcrc.org
Ph: (206) 667-2926
Fax: (206) 667-5977
---------------------------------------
__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/