More symbols are needed for a base bigger than 16 Linda
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Henry Rich Sent: Sunday, October 30, 2011 9:04 AM To: Programming forum Subject: Re: [Jprogramming] Hexadecimal '0123456789ABCDEF' {~ 16 (#.^:_1) 456 1C8 x #: y converts y to base x, mod */x (with exceptions if x contains zeros). If you want to have an unlimited number of digits, use #.^:_1 as shown above. Henry Rich On 10/30/2011 8:50 AM, David Vaughan wrote: > How could I convert decimal numbers to hexadecimal in J? I thought the #. verb would help, but either it doesn't or I was doing it wrong. > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
