comp.lang.ada
 help / color / mirror / Atom feed
* convert integer base10 into base16
@ 2002-02-12 12:05 c-kif-kif
  2002-02-12 12:10 ` Lutz Donnerhacke
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: c-kif-kif @ 2002-02-12 12:05 UTC (permalink / 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



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-02-13  9:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-12 12:05 convert integer base10 into base16 c-kif-kif
2002-02-12 12:10 ` 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

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