I'd like to format fixed point decimal (packed, in other words) numbers in a
common subroutine that would be passed the precision and scaling. Can
printf() and friends take '*' and then a passed integer for its (n,p) values
- analogous to the way printf() width and precision may be specified?

 

My initial experiment failed but I'd like a clue whether it's mission
impossible or fat fingers.

 

In any event, I think the documentation of the D(n,p) specifier is woefully
inadequate. I'll submit an RCF in any event.

 

Charles Mills



 


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to