I have a decimal field (amount field) defined as (15S 2)I am populating this field from a file field which is also of same attribute. I dont want leading Zeros to appear on this field so I used edtcde(1). Leading Zeros are suppressed. But it seems the field is taking much space than length 15(Value in the field is 50,000.00 but it took a space of 20 with blanks in the begining) and so overlapping with the next field. Why so? Any other editcode is there which can suppress leading zeros and want to show decimal point as well. Nothing more like dollar symbol or -ve sign required. Please assist
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!
No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.
Your password has been sent to:firstname.lastname@example.org
To follow this tag...
Thanks! We'll email you when relevant content is added and updated.
Share this item with your network: