|
-
May 11th, 2021, 07:23 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] Math operation on set of numbers (Textbox)
There's a text box containing a set of numbers like example:
First odd digits are decades and even ones are single ones to create a full numbers (From hex. in dec. base) ignore what I said. Following mathematical actions on specific numbers are needed.
Merging is not allowed. Due to inequality of first part x100 then +second part.
Required function(s) would be like:
(9 *256)+23
(6 *256)+17
(0 *256)+3
(5 *256)+1
How can I do such thing in VB.NET?
It could be discrete in 3 smaller steps as I know but not sure how:
- Split text from left via " " space character,
- Multiplying it to 256 then adding to next number (which also separated),
- Remove those numbers each step to creating a loop to repeat the matter.
Last edited by pourkascheff; May 11th, 2021 at 11:00 AM.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|