11-28-2007 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.
11-28-2007 6:15 PM
11-28-2007 4:31 PM
Hi,
Use edit mask when you have to display the field. Ex. Write field currency curr.
Mireia
11-28-2007 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
11-28-2007 4:33 PM
Define like this:
data: amount(12) type p decimals 5. " <<
amount = '12345678901234567.897874'.
write: amount.
Regards,
Naimesh Patel
11-28-2007 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
11-28-2007 6:15 PM