Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • @ChristopherRayl do you want the result of addition/subtraction in a string? The OP states they want to manipulate the values with different operations, and the problem is the data type is string. I think the solution is to use a more suiting data type. Commented Dec 4, 2012 at 15:15
  • I think he just wants to convert a binary string into a binary number so that he can perform binary arithmetic on it. Commented Dec 4, 2012 at 15:17
  • @ChristopherRayl what difference should it make to do binary operations on an int32? What data type is a binary type? Int32 should be sufficient. If a binary string result is desired, generating the string is simple enough. Commented Dec 4, 2012 at 15:19
  • I think (s)he's looking for something like: stackoverflow.com/a/2252904/930878 Commented Dec 4, 2012 at 15:23