Hi Colin,

Are you sure the HZZ9.Z9 or HZZZ.Z9 doesn't work?

For me with 2.6x the format "HZZ9.Z9" causes the display of :

48.90 as "48.90"
48.09 as "48.09"
48.00 as "48.00"
0.90   as " 0.90"
0.09   as "0.00"
0.00  as "     "
0 as "      "

Regards
Brian



----- Original Message ----- From: "Colin Roberts" <[EMAIL PROTECTED]>
To: "Dataperfect Users Discussion Group" <[email protected]>
Sent: Tuesday, June 12, 2007 10:43 AM
Subject: [Dataperf] Not printing zero'd decimal fields


Hi All,

Trying to NOT print zero'd decimal fields - and not getting there :-(

Take a GZZZ.Z9 field and print as HZZZ.Z9 and if field is zero, still get
.00 printing. Can achieve with ;;E designator but then $48.00 prints as $48 Ideally when the dollars are greater than 1, I want the cent value to print
even if the cents are zero - just want it to be blank/(print nothing) when
both the dollars and cents are zero. Used H fields before successfully but
this must be the first time that I've included a decimal point. Shock -
horror when it didn't work
I'm sure there's a work-around - Anyone know of one? ( I'm using DP26X)
Thanks

Regards

Colin Roberts

_______________________________________________
Dataperf mailing list
[email protected]
http://lists.dataperfect.nl/mailman/listinfo/dataperf


_______________________________________________
Dataperf mailing list
[email protected]
http://lists.dataperfect.nl/mailman/listinfo/dataperf

Reply via email to