This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
en:numericconstants [2016/01/01 23:01] admin |
en:numericconstants [2016/08/14 15:33] admin |
||
---|---|---|---|
Line 8: | Line 8: | ||
|-2345| | |-2345| | ||
|0| | |0| | ||
+ | |||
+ | Positive integer values may also be expressed in binary (base 2), octal (base 8), and hexadecimal (base 16). Precede binary values with 0b (0b1110 = 14), octal with 0o (0o177 = 127), and hexadecimal with 0x (0xff = 255). | ||
^Decimal Numbers^ | ^Decimal Numbers^ | ||
Line 24: | Line 26: | ||
|2e-1|0.2| | |2e-1|0.2| | ||
|5.12e-9|0.00000000512| | |5.12e-9|0.00000000512| | ||
- | |||
- | Positive integer values may also be expressed in binary (base 2), octal (base 8), and hexadecimal (base 16). Precede binary values with 0b (0b1110 = 14), octal with 0o (0o177 = 127), and hexadecimal with 0x (0xff = 255). | ||