Kevin,
Tried this on my UV system, and it works just fine:
LIST INVOICE 16 17 WITH 16 > "0.00" AND WITH 17 > 16 EVAL "(@RECORD<16> /
@RECORD<17>) * "10000"" CONV "MD2" FMT "14R" COL.HDG "Tax % of Gross"
05:28:17pm 16 Aug 2004 PAGE 1
INVOICE... Tax Amount.... Net Invoice... Tax % of Gross
394407 30.19 555.19 5.44
788813 5.17 91.35 5.66
788814 7.33 101.85 7.20
788815 5.82 80.88 7.20
The values stored in attributes 16 and 17 are scalar integers with
virtual decimals, so had to do the * "10000" to make the decimals come out
right....
--Ron P.
-----Original Message-----
From: Kevin Michaelsen [mailto:[EMAIL PROTECTED]
Sent: Monday, August 16, 2004 4:02 PM
To: [EMAIL PROTECTED]
Subject: [U2] EVAL formatting
I had one of my IT folks look at this one and I don't want to belive them.
They said you cannot display a decimal when using the EVAL command. I think
there is got to be a way. That's why I put this out. The current EVAL
statement displays 1 or 0. Any ideas??
LIST CS.2004 H.HCG.AWARDED.ALL H.TOTAL.AWARD EVAL
"H.HCG.AWARDED.ALL/H.TOTAL.AWARD"
kevin
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/