Top "Octal" questions

The octal numeral system, or oct for short, is the base-8 numeral system, using the digits 0 to 7. Often used to notate Unix permissions.

Where did the octal/hex notations come from?

After all of this time, I've never thought to ask this question; I understand this came from c++, but what …

c hex octal
converting hexadecimal , octal numbers into decimal form using python script

There are many inbulit functions like int(octal) which can be used to convert octal numbers into decimal numbers on …

python hex octal
display an octal value as its string representation

I've got a problem when converting an octal number to a string. p = 01212 k = str(p) print k The result …

python format octal
Invalid octal digit error

Invalid octal digit error in Ruby, how do I by pass that? I have a number, 0962833, which I need to …

ruby api octal
Octal representation inside a string in C

In the given program: int main() { char *p = "\0777"; printf("%d %d %d\n",p[0],p[1],p[2]); printf("--%c-- --%…

c octal number-systems
Python2.6 Decimal to Octal

How can i convert decimal to Octal in Python2.6, for 1 to 100000? I wanna get this converted result as .txt too. …

python decimal octal
Handling numbers with leading zeros in Tcl

I am having trouble in Tcl using numbers with leading zeros. I am parsing some numbers that can have leading …

parsing integer tcl octal
C++ Changing a decimal to octal, output backwards

So I wrote this small application that will convert a decimal to octal, and it is outputting the right answer …

c++ decimal octal
Converting octal and hexadecimal numbers to base 10

I am trying to understand javascript octal and hexadecimal computations. I know I can use parseInt(string, radix) to get …

javascript hex octal
Why do Java octal escapes only go up to 255?

The Java language specification states that the escapes inside strings are the "normal" C ones like \n and \t, but …

java escaping octal