‎2007 Nov 28 4:24 PM
Hi All,
I have requirement to display currency field as 17 characters , a decimal point and 5 decimals(total length = 1715 = 23 ).How can I get this.
Any inputs will be rewarded.
‎2007 Nov 28 6:15 PM
‎2007 Nov 28 4:31 PM
Hi,
Use edit mask when you have to display the field. Ex. Write field currency curr.
Mireia
‎2007 Nov 28 4:32 PM
Hi Ranjan,
do like this
data: dec(11) type p decimals 5 value '12345678901.12345',
char(17) type c.
char = dec.
write char.Regards,
Satish
‎2007 Nov 28 4:33 PM
Define like this:
data: amount(12) type p decimals 5. " <<
amount = '12345678901234567.897874'.
write: amount.Regards,
Naimesh Patel
‎2007 Nov 28 4:37 PM
Hi,
I tried using p and it was working with write statment. How can I achieve the same result while writing to a flat file
‎2007 Nov 28 6:15 PM