|
Brad wrote: >Ya Hans, as soon as IBM fixes the one that I copied this >from. Better get crackin. > >PS - I never said Barbara was wrong. If I'm not mistaken (I've already deleted the previous digest), Barbara pointed out that under certain circumstances your char to numeric function will fail. You replied that YOU've had no problems. OK, maybe you didn't explicitly say Barbara was wrong, but there was that implication. Furthermore, saying that YOU've had no problems doesn't mean others won't have problems. I've tested your procedure with a sample size of one, and 100% of my tests failed! In fact, it gave exactly the same result as using "atof". Anyways, the only point I really wanted to add is that your procedure (even if it was based on IBM code originally) is really no better than using "atof" in the C run-time library. Now to be fair, you make no claims on your web page that it is better than anything else. But why offer a procedure that doesn't offer at least a bit of improvement? Actually, I'm very surprised you're not jumping at the opportunity to fix your code and then advertise how much better your code is than IBM's! BTW, where can I find that IBM-written char to num conversion procedure? Hans Boldt, ILE RPG Development, IBM Toronto Lab, boldt@ca.ibm.com +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
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.