• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 304
  • Last Modified:

string to integer

How can i save the value "A" wich is a string with a numeric value into "B" wich is an integer
0
mikeTmike
Asked:
mikeTmike
1 Solution
 
HypoCommented:
use the "val" procedure.

like this: val('123',Variable,ErrorCode);
(The string has to match the type that "Variable" is)
in your case this would be val(A,B,ErrorCode).
Note that Errorcode is zero if succesfull.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now