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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,252713cea9bdfef9,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-02-12 04:05:35 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: c-kif-kif@eudoramail.com (c-kif-kif) Newsgroups: comp.lang.ada Subject: convert integer base10 into base16 Date: 12 Feb 2002 04:05:34 -0800 Organization: http://groups.google.com/ Message-ID: <8fe5cfbb.0202120405.19690c26@posting.google.com> NNTP-Posting-Host: 193.253.220.188 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1013515535 1596 127.0.0.1 (12 Feb 2002 12:05:35 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 12 Feb 2002 12:05:35 GMT Xref: archiver1.google.com comp.lang.ada:19918 Date: 2002-02-12T12:05:35+00:00 List-Id: I'm shure this question has been answered a million times, but i still can't get it right. It's easy to convert base10 into base16 : a : integer := 16#A#; a := Integer'Value (Integer'Image(a)); -- result 10 But how can i convert from base10 to base16 or other ? I don't want to write it on screen, so i think it's not with put/get how it works. Thanks for any help c-kif-kif