Results 1 to 4 of 4

Thread: Text to Number

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2000
    Posts
    51
    I know this is a little silly, but I just switched from C++ to VB and while I've used the str() function quite often, I cant find the function to get text converted into a number.
    Oro?

  2. #2
    Guest
    It would be

    Code:
    number = Val(YourStr)
    Sunny

  3. #3
    Lively Member Feras's Avatar
    Join Date
    Sep 2000
    Location
    Homs, Syria
    Posts
    85

    Post

    Very easy unlike C++.

    But can I know why you left C++ to VB?? I hope to learn C language some day.
    Yesterday is history ... Tomorrow is mistry .. Today is a gift.

    VB6 , intermidiat

  4. #4

    Thread Starter
    Member
    Join Date
    Sep 2000
    Posts
    51
    Well it's somewhat hard to do maintenance on a VB program in C++ ^_^
    Oro?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width