Convert String to Decimal

How do I convert a string to decimal in Dynamics NAV 5.0?

use the function EVALUATE. You can read this function up in the C/SIDE documentation or F1 help.

EVALUATE(VariableName, ‘What you want to convert’);

VariableName will be the name of the decimal variable you have created.

its not working showing the error of decimal formate

Hi Omprakash,

What error are you getting?

Hi Shanil

Use EVALUATE(numVar, StringVar) function

Thank you