[Stackoverflow] [Progress OpenEdge ABL] Something similar: Substring but for integer - Progress4gl

Status
Not open for further replies.
A

a.omz

Guest
Hi Can someone help me with a question, please?

I have an integer in a cell in a spreadsheet and I only want to grab the first 6 digits out of the 7 in the cell from my input/read data set. How do I do that?

For a string, I would do something like:

...after def all relevant var and source documents:

variablexyz = substring(data[1]1,6) - right?

How do I do the same thing for an integer?

Thank you.

Continue reading...
 
Status
Not open for further replies.
Top