Hello from spain I am a beginer developer. I don’t know how to translate a string into a var number. I know about “format” which translates number into a string but i want the opposite. I am using Navision Financials ES 2.60.A Thanks a lot.

Use the EVALUATE(numVar, StringVar) function.

Evaluate has an optional return value of True/False. If you don’t handle the return value yourself, a runtime error occurs.

Thank you Mr. Heinz, I have solved my problem to use Evalute function.