From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3ba73a8167aad747 X-Google-Attributes: gid103376,public From: dewar@cs.nyu.edu (Robert Dewar) Subject: Re: Hex to Dez conversion? Date: 1996/06/09 Message-ID: #1/1 X-Deja-AN: 159347634 references: <31bb2122.5a455349@zesi.ruhr.de> organization: Courant Institute of Mathematical Sciences newsgroups: comp.lang.ada Date: 1996-06-09T00:00:00+00:00 List-Id: Haug asks "Hi, has anybody code to convert a string with a hex number to an integer? I think Ada 95 has lots of possibilities with charsets and conversion functions. Has anybody code that uses it? " Most obvious answer use get from a string to read the number in hex (adding 16# at the start and # at the end), and that will do it!