Howdy, Stranger!

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

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

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.