String--->Integer - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

String--->Integer

spidey2311spidey2311 Posts: 1Member
I forgot the fucntion tha converts strings into integer...for example if i said that A is STRING and its value is '454545'....how do i make it an integer to put it into B which is integer?

Comments

  • scorpionxx7scorpionxx7 Posts: 39Member
    : I forgot the fucntion tha converts strings into integer...for example if i said that A is STRING and its value is '454545'....how do i make it an integer to put it into B which is integer?
    you want val(a,b,c) where a is your string variable, b the integer variable, and c is another integer var that becomes '1' if it doesn't work
Sign In or Register to comment.