MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: List in base 16

If you have the list digitList with the numbers (eg. using IntegerDigits[n,16]) then
digitList /. {10->A,11->B,12->C,13->D,14->E,15->F}
will do the job

Steve Gray <stevebg at> wrote in message news:<b5mj8t$s0l$1 at>...
> BaseForm uses lower case letters and prints the subscript 16
> after each number. Is there a way to print a list whose elements are
> integers 0 through 15 using 0,1,...,9,A,B,C,D,E,F without the
> subscript 16? E.g. {8,13,11,3} should appear as {8,D,B,3}.
> 	Help will be appreciated. Thank you.

  • Prev by Date: Re: Plot a recurrence relation
  • Next by Date: Cell grouping rules
  • Previous by thread: Re: List in base 16
  • Next by thread: Re: List in base 16