G GTi Sep 3, 2006 #1 How can I convert a octal number to a integer and back again to a octal number (2 function) ?
G Gaurav Vaish \(www.EduJini.IN\) Sep 3, 2006 #2 Write your own code... the same maths that you learn probably in your high-school or may be long earlier Or do you have problems writing this code?
Write your own code... the same maths that you learn probably in your high-school or may be long earlier Or do you have problems writing this code?
G GTi Sep 3, 2006 #3 Gaurav said: Write your own code... the same maths that you learn probably in your high-school or may be long earlier Or do you have problems writing this code? Click to expand... Just wondered if that was build into the .NET Framework High School... hmmm long time ago...
Gaurav said: Write your own code... the same maths that you learn probably in your high-school or may be long earlier Or do you have problems writing this code? Click to expand... Just wondered if that was build into the .NET Framework High School... hmmm long time ago...
M Marc Gravell Sep 3, 2006 #4 It is: int i = 10345; // whatever string s = Convert.ToString(i, 8); int j = Convert.ToInt32(s, 8); Debug.WriteLine(s); Debug.WriteLine(j); Marc
It is: int i = 10345; // whatever string s = Convert.ToString(i, 8); int j = Convert.ToInt32(s, 8); Debug.WriteLine(s); Debug.WriteLine(j); Marc
G Gaurav Vaish \(www.EduJini.IN\) Sep 4, 2006 #5 string s = Convert.ToString(i, 8); int j = Convert.ToInt32(s, 8); Marc Click to expand... Hey Marc... kewl! Something new to me as well
string s = Convert.ToString(i, 8); int j = Convert.ToInt32(s, 8); Marc Click to expand... Hey Marc... kewl! Something new to me as well
G GTi Sep 5, 2006 #6 Marc said: It is: int i = 10345; // whatever string s = Convert.ToString(i, 8); int j = Convert.ToInt32(s, 8); Debug.WriteLine(s); Debug.WriteLine(j); Marc Click to expand... Ahh - simple. Just what I wanted - build into the Framework Tx Marc
Marc said: It is: int i = 10345; // whatever string s = Convert.ToString(i, 8); int j = Convert.ToInt32(s, 8); Debug.WriteLine(s); Debug.WriteLine(j); Marc Click to expand... Ahh - simple. Just what I wanted - build into the Framework Tx Marc