What is the code for converting from binary to decimal???????? :rolleyes:
kyakobi84
0
Newbie Poster
Recommended Answers
Jump to PostHave you tried this code:
Dim strBinary As String = "11111111" Dim intValue As Integer Dim iPos As Integer Dim iVal As Integer For iPos = 0 To strBinary.Length - 1 iVal = strBinary.Substring(strBinary.Length - iPos - 1, 1) intValue = intValue + iVal * 2 ^ …
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.