Hexadecimal Numbers

Subject: Hexadecimal Numbers
From: James Lockard <jamesl -at- DMTI -dot- COM>
Date: Wed, 25 Jun 1997 13:05:35 -0500

Hello tech. writers,

I'm trying to document a small program that generates return values that
include decimal numbers, hexadecimal numbers, and mixed decimal and
hexadecimal numbers. I've done a little research on my own to determine
what the most common convention is for representing hexadecimal numbers,
but the three computer dictionaries I consulted each list about four
options without recommending any.

Some of the options I found include
decimal 32 = hexadecimal 20
decimal 32 = 0x20
decimal 32 = 20h
decimal 32 = 20H
decimal 32 = $20
decimal 32 = &20
decimal 32 = X'20'
decimal 32 = 20 (base 16)
decimal 32 = 20 (hex)

Is there a standard technique for representing hex numbers? If not, what
techniques or guidelines have you followed in the past? Also, do you
treat hexadecimal numbers differently in different contexts? That is,
would you use a different technique with in a paragraph of explanation
than you would in a number table or code sample?
TIA,
James Lockard


................................................
Office Address jamesl -at- dmti -dot- com
Home Address norton -at- mcs -dot- net
WWW Address http://www.mcs.net/~norton/
................................................

TECHWR-L (Technical Communication) List Information: To send a message
to 2500+ readers, e-mail to TECHWR-L -at- LISTSERV -dot- OKSTATE -dot- EDU -dot- Send commands
to LISTSERV -at- LISTSERV -dot- OKSTATE -dot- EDU (e.g. HELP or SIGNOFF TECHWR-L).
Search the archives at http://www.documentation.com/ or search and
browse the archives at http://listserv.okstate.edu/archives/techwr-l.html


Previous by Author: Re: Framemaker mailing list
Next by Author: in RH - can you create Version tab on Properties Page?
Previous by Thread: telecommuting
Next by Thread: Re: Hexadecimal Numbers


What this post helpful? Share it with friends and colleagues:


Sponsored Ads