Code to Decimal

fmhiguefmhigue Member Posts: 290
Is there any function to change a Code variable to Decimal?

Comments

  • todrotodro Member Posts: 117
    fmhigue wrote:
    Is there any function to change a Code variable to Decimal?
    Hi,

    are you refering to a conversion of a decimal value stored in a code variable into a decimal variable ? If so, you can use
    OK:= EVALUATE(DecVar,CodeVar);
    
    The return value will tell you whether an error ocurred during the conversion
    Torsten
    MCP+I, MCSE NT, Navision MCT (2004,2005)
Sign In or Register to comment.