View Single Post
  #18   Report Post  
Posted to rec.woodworking
[email protected] keithw86@gmail.com is offline
external usenet poster
 
Posts: 433
Default Buddy, can you spare me a Nine.........

On Mar 22, 2:58*am, Puckdropper puckdropper(at)yahoo(dot)com wrote:
" wrote :



What do you need the 9 for? *Just mark your projects in base 9 or base
8 (octal). *By convention, adding a leading 0 denotes a base 8 number..

* * * * * * * * * * * * * * * * * * * * * *^
That's an O, not a 0. *;-)


BTW, some conventions use a leading zero to mean hexadecimal (no octal
option).


While the O may still be correct, many of the programming languages I'm
familiar with use 0. *http://www.cplusplus.com/doc/hex/


Yes, but the general case is 'O' or "O'" denoting Octal, 'H' or "H'"
for Hexadecimal, and often 'D' or "D'" for plain-as-the-nose-on-your-
face decimal.

Hex is usually denoted by 0x. *(Sometimes a trailing h is used, but that
seems to be falling out of favor.)


....or "H'"

Binary patterns usually are 0b.


....or "b'". Really, all make the intention clear *except* the leading
'0'.