Options

Need to turn string to numeric

Juan_Vicente_PuenteJuan_Vicente_Puente Member Posts: 5
Hi:

I have the same problem with C/SIDE. I need to turn string to numeric and in the documentation I have not found any function to be able to make it.

Thanks beforehand.

A greeting, Juan.

Comments

  • Options
    Ejem:

    tvar :=FORMAT(Amount);
    tvar :=DELSTR( tvar, STRPOS( tvar,','),1);
    EVALUATE(Amount,tvar);

    PROBLEM!!!!!! numeric := ???????(tvar);

    how do I pass Amount in new format to a codeunit??
  • Options
    OK. Solution

    .....
    .....
    .....

    PROBLEM

    EVALUATE(Amount,tvar);

    PROBLEM!!!!!! numeric := ???????(tvar);

    SOLUTION

    IF NOT EVALUATE(Amount,Tvar) THEN BEGIN
    Amount := 0;
    END;
Sign In or Register to comment.