1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

  2. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

How to get 10 digit value in integer format?

Discussão em 'StackOverflow' iniciado por fdantas, Julho 12, 2019.

  1. fdantas

    fdantas Administrator Moderador

    I tried to get 10 digit format value from integer(actual format is 4 digit). But its trimming prefix zero and return the same value.

    Let me share what I tried.

    DEFINE VARIABLE idata AS INTEGER NO-UNDO.
    DEFINE VARIABLE iValue AS INTEGER NO-UNDO.

    idata = 111.

    iValue = INTEGER(STRING(idata, "99999999999")).

    DISPLAY iValue.


    May I know what is wrong here? and way to get an answer for my question?

    Continue reading...

Compartilhe esta Página