[focus-l] Re: TRUNCATION

  • From: "HANSARD, RON (CONTRACTOR)" <RON.HANSARD@xxxxxxxx>
  • To: <focus-l@xxxxxxxxxxxxx>
  • Date: Tue, 4 May 2004 17:21:40 -0400

Just DEFINE a field with format P6 and make it equal the field with =
P8.2:

DEFINE FILE SOMETHING
NEWAMT/P6=3DOLDAMT;
END

If the OLDAMT value is 12345.10, the NEWAMT value will be 12345.  If the =
OLDAMT value is 99999.99, the NEWAMT value will be 100000.  If the =
OLDAMT value is 99999.00, the NEWAMT value will be 99999.

Ron

-----Original Message-----
From: focus-l-bounce@xxxxxxxxxxxxx
[mailto:focus-l-bounce@xxxxxxxxxxxxx]On Behalf Of Hamilton, Robert
Sent: Tuesday, May 04, 2004 5:10 PM
To: FOCUS-L@xxxxxxxxxxxxx
Subject: [focus-l] TRUNCATION


WHAT'S the slickest way to get  a  /p6  fld from a  P/8.02=20
=20

Thnx

=20

bobh

=20

=20

=20

=20

There are 10 kinds of people; those who think binary and those who
don't.

=20




Other related posts: