Decimal Question
Edis, Bob
BEdis@usbnc.org
Wed, 27 Feb 2002 11:13:52 -0600
Use a float data type (d_famount FLOAT = iamount / 100) to convert value to
an CHAR data type and insert the decimal point (e.g. d_camount CHAR*9 =
ASCII(iamount,8)[1:6] + '.' + ASCII(iamount,8)[7:2]
Blue
-----Original Message-----
From: Arnone, Anthony [mailto:aarnone@grey.com]
Sent: Wednesday, February 27, 2002 10:51 AM
To: powerh-l@lists.swau.edu
Subject: Decimal Question
I have a numeric field called amount that is stored in the database without
the decimal placement. (i.e. $100.00 = 10000) I need to write this field to
a subfile with the nodictionary parameter including the decimal point so in
the file it looks like 100.00. Any Ideas? I am running 8.19 on MPE i/X. Also
can someone explain when I append to a subfile with the nodictionary
parameter I need to hit the return key for it to process or else it would do
nothing and just hang there.
Anthony
-----Original Message-----
From: Lu, David [mailto:David.Lu@mkcorp.com]
Sent: Wednesday, February 27, 2002 11:43 AM
To: powerh-l@lists.swau.edu
Cc: garrywh@core.ca
Subject: RE: Question: Is there a way to convert PowerHouse code into
any other language?
Try www.core.ca. Currently they provide services to migrate Powerhouse 4GL
into COM or Java.
David Lu
Information Services & Technologies
Mary Kay Inc.
972-687-5439 (office)
972-687-1601 (fax)
david.lu@mkcorp.com
-----Original Message-----
From: David Morrison - Corporate [mailto:dmorrison@mcbrideelectric.com]
Sent: Tuesday, February 26, 2002 3:38 PM
To: 'powerh-l@lists.swau.edu'
Subject: Question: Is there a way to convert PowerHouse code into any
other language?
We're running on an IBM AS/400, but the question is applicable to any
platform.
Thanks.
David Morrison
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.swau.edu
Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
Unsubscribe: "unsubscribe" in message body to
powerh-l-request@lists.swau.edu
http://lists.swau.edu/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.swau.edu
Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
Unsubscribe: "unsubscribe" in message body to
powerh-l-request@lists.swau.edu
http://lists.swau.edu/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.