|
-
Aug 15th, 2006, 02:30 PM
#1
Thread Starter
Lively Member
[RESOLVED] Getting the middle number
My problem is how can I get the value of the middle number in a textbox?
For example:
1.
Number: 563921
The Middle Number is: 39
2.
Number: 63942
The Middle Number is: 394
I want the middle number to be squared (39^2) and displayed it in a textbox.
Note:
The middle number must be atleast 2 digit number. Meaning, if the length of the number is even number, the middle number has 2 digit while if the length is odd number then the middle number is 3 digit.
Last edited by Hack; Aug 25th, 2006 at 08:23 AM.
Reason: Added [RESOLVED] to thread title and green "resolved" checkmark
To become a PROFESSIONAL,
Start from SCRATCH... 
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
|