Results 1 to 3 of 3

Thread: [RESOLVED] "F" to 15

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2005
    Location
    Cebu
    Posts
    607

    Resolved [RESOLVED] "F" to 15

    Hehe. Title maybe confusing but I need help on a string "F" to be converted to value 15. Something like "F".ToString("D") doesn't work... Any help?

    Thanks.
    Last edited by Hack; Feb 2nd, 2006 at 07:42 AM. Reason: Added Resolved to thread title

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: "F" to 15

    I assume that you mean F as in the hex digit. To convert a hexadecimal string to a number you use Convert.ToInt32(hexString, 16)
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2005
    Location
    Cebu
    Posts
    607

    Re: "F" to 15

    Thanks JM!

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