|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Convert binary to octal
i have searched and can't seem to find how to do this
here it will ask the user to enter in a sequence of binary numbers that are separated by a period. For an IP there are 4 sets of 8 numbers that are separated by a period; 32 numbers, 3 periods. Once the user entered 0 and 1 i have to somehow convert that to octal and display the result on a new page with the octal answer. |
|
#2
|
||||
|
||||
|
Hmmm, this sounds like homework.
Quote:
Convert what? the whole thing? or the sub parts with the periods? An ip is not binary, so i'm not sure what you're trying to do. Either way, http://www.belmont.cc.oh.us/dews/st...pro13/octal.htm has the theory of how to do it. Hope this wasn't due on monday ![]() |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > Convert binary to octal |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|