rounding up edit
Kenneth Brody
kenbrody at spamcop.net
Tue Nov 22 12:40:58 PST 2011
On 11/22/2011 3:30 PM, scooter6 at gmail.com wrote:
> I am doing some processing (for ACH transactions to be precise)
>
> one of the fields in the file control record requires you to divide total
> records being output to the file, divide by ten, round up and zero fill to
> right.
>
> For instance, if there are 56 total records, divided by 10 = 5.6 ---- so
> this field should show up in the file as 0000006 (rounded up)
>
> In looking at edits and the syntax I don't see anything that catches my eye
> that will accomplish this, other than obviously the zero fill, right
> justify but
> not that would round up -- can this be done in an edit or do I need to
> define this in the output processing somehow?
Any reason not the use the CEIL() function?
--
Kenneth Brody
More information about the Filepro-list
mailing list