ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Converting numeric into character

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Converting numeric into character

    I have to convert a numeric field that is 13.2 into a character field that is only 10 long.

    Example:

    2418.90 into 000024189G

    What is the best method of doing this?

    Thanks,

    DAC

  • #2
    Re: Converting numeric into character

    % Try:

    PHP Code:
      EvalR CharFld = %EditC(NumFld'X'); 
    Birgitta

    Comment

    Working...
    X