comp.lang.ada
 help / color / mirror / Atom feed
From: c-kif-kif@eudoramail.com (c-kif-kif)
Subject: convert integer base10 into base16
Date: 12 Feb 2002 04:05:34 -0800
Date: 2002-02-12T12:05:35+00:00	[thread overview]
Message-ID: <8fe5cfbb.0202120405.19690c26@posting.google.com> (raw)

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



             reply	other threads:[~2002-02-12 12:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-12 12:05 c-kif-kif [this message]
2002-02-12 12:10 ` convert integer base10 into base16 Lutz Donnerhacke
2002-02-12 13:53 ` Alfred Hilscher
2002-02-12 14:33 ` Georg Bauhaus
2002-02-12 16:45 ` Stephen Leake
2002-02-13  6:17 ` Dale Stanbrough
2002-02-13  9:44   ` c-kif-kif
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox