× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



evalr my7BytesChar = %editw(myPrice_7With2Decpos :' '); //without negative sign

Or

evalr my7BytesChar = %editw(myPrice_7With2Decpos :' -'); //with negative sign at the end


Note: there is no away to put - sign in the beginning of result when using %editw.





"Adam West" <adamster@xxxxxxxxx> wrote in message news:<mailman.5460.1219329935.2545.rpg400-l@xxxxxxxxxxxx>...
HI I have a field that has to be sent over as character. It is numeric with many prices as 19.99, etc.
I want to send it as character '    19999' for 7 pos. field.
I am looking for the neatest way to do in RPG.



----------

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.