× 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.



Title: Convert Alpha to Numeric

If you work with RPG ILE or RPG IV you can be search “atoi” and “atof” C-procedures.

They’ll be solving your problem good.

 

 

 

 

-----Messaggio originale-----
Da: Baltus, Kevin [mailto:KBaltus@automaticproducts.com]
Inviato: venerd́ 14 aprile 2000 23.01
A: 'RPG400-L@midrange.com'
Oggetto: Convert Alpha to Numeric

 

Hello.  I may be asking a basic question but what is the best way to convert an alpha field into a numeric?  In my situation I have a 20-Alpha where the values are whole numbers.  I need to get that whole number into a 10.3 field.

Any suggestions would be greatly appreciated!  Thanks!

--------------------------------------------------------
Kevin Baltus - Programmer/Analyst
(651) 290-6179   kbaltus@automaticproducts.com
Gross-Given Mfg/Automatic Products International
http://www.automaticproducts.com

Blatant Band Plug
http://www.twitch.org

 


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.