[Code]Type Convert

GRUBBYFANSGRUBBYFANS Member Posts: 154
I don't know [code] type convert [int]or[Decmail]
Who can tell me? :(:( [/b]

Comments

  • krikikriki Member, Moderator Posts: 9,110
    Check the online help for FORMAT,EVALUATE.
    I suppose you want to convert a code to INT/DEC. In this case you need EVALUATE.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • GRUBBYFANSGRUBBYFANS Member Posts: 154
    GRUBBYFANS wrote:
    I don't know [code] type convert [int]or[Decmail]
    Who can tell me? :(:( [/b]


    I look help,It say that [Ok :=] EVALUATE(Variable, String[, Number]),

    I want It return value is [Int] or [Decmail],You can tell me which function
    can do that?????[/list]
  • krikikriki Member, Moderator Posts: 9,110
    GRUBBYFANS wrote:
    GRUBBYFANS wrote:
    I don't know [code] type convert [int]or[Decmail]
    Who can tell me? :(:( [/b]


    I look help,It say that [Ok :=] EVALUATE(Variable, String[, Number]),

    I want It return value is [Int] or [Decmail],You can tell me which function
    can do that?????[/list]
    In this case you need to create a function in which you use the EVALUATE-function:

    Function Code2DecInt(Icod as CODE) OdecReturnValue AS Decimal
    [code]EVALUATE(OdecReturnValue,Icod);[/code]

    And then you can use this function.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • GRUBBYFANSGRUBBYFANS Member Posts: 154
    kriki wrote:
    GRUBBYFANS wrote:
    GRUBBYFANS wrote:
    I don't know [code] type convert [int]or[Decmail]
    Who can tell me? :(:( [/b]


    I look help,It say that [Ok :=] EVALUATE(Variable, String[, Number]),

    I want It return value is [Int] or [Decmail],You can tell me which function
    can do that?????[/list]
    In this case you need to create a function in which you use the EVALUATE-function:

    Function Code2DecInt(Icod as CODE) OdecReturnValue AS Decimal
    [code]EVALUATE(OdecReturnValue,Icod);[/code]

    And then you can use this function.

    Successfully! I am very thank you!
    Thank you help me,your MSN can tell me??I want to study and I want to
    Nav MVP ,I am in Shang Hai of China, I hope you can do my friends,OK???
    Thank you!!!!




    =D> =D>
  • krikikriki Member, Moderator Posts: 9,110
    GRUBBYFANS wrote:
    Thank you help me,your MSN can tell me??I want to study and I want to
    Nav MVP ,I am in Shang Hai of China, I hope you can do my friends,OK???
    Thank you!!!!
    I am sorry, but I don't publish my MSN or other data on Mibuso. This because I am moderator and Dynamics NAV MVP. I am afraid I would get to many messages from everyone for several reasons. Having only a PM on the forum, it is easier for me to keep the number of messages low and limiting them to Mibuso-issues.

    For studying, I can definitly advice you to read the topics on the forum. Since I am doing this, I have learned a lot.

    To become a MVP: there is no "rule" to follow that guarantees the title. But definitely it helps to be a (very) active member on online forums.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • Slawek_GuzekSlawek_Guzek Member Posts: 1,690
    kriki wrote:
    To become a MVP: there is no "rule" to follow that guarantees the title. But definitely it helps to be a (very) active member on online forums.
    ... and how to be very active ? it is enough to answer already answered questions... (Fortunatley I haven't noticed 'Mee tooos' ... so far...)

    :mrgreen:

    Regards,
    Slawek
    Slawek Guzek
    Dynamics NAV, MS SQL Server, Wherescape RED;
    PRINCE2 Practitioner - License GR657010572SG
    GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
  • ara3nara3n Member Posts: 9,256
    Fortunately I haven't noticed 'Mee tooos' as well.

    :mrgreen:
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • David_SingletonDavid_Singleton Member Posts: 5,479
    ara3n wrote:
    Fortunately I haven't noticed 'Mee tooos' as well.

    :mrgreen:

    I also have not noticed lots of 'Mee tooos' lately. :mrgreen:
    David Singleton
Sign In or Register to comment.