Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

iSeries / AS400 FAQ : (Category) Programming : (Category) RPG : How can I convert a character string into a numeric value?

0
Posted

iSeries / AS400 FAQ : (Category) Programming : (Category) RPG : How can I convert a character string into a numeric value?

0

First, don’t use ‘atof’. It introduces floating point which can’t hold every decimal value. Use some text-based method. Here is the source for a couple of procedures that handle this.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123