caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] How do I convert 0x hexadecimal integers to decimal integers ?
@ 2003-03-27 17:20 Stalkern 2
  2003-03-27 17:54 ` Stalkern 2
  0 siblings, 1 reply; 5+ messages in thread
From: Stalkern 2 @ 2003-03-27 17:20 UTC (permalink / raw)
  To: caml-list, ocaml_beginners

Hello to everybody 
I'd  need a function to turn hexadecimal integers like 
	0xb8f99c 
( a Color in hexadecimal notation) to integer 3ples (e.g. `RGB 
(184*256,249*256,156*256), always a color).

Shall I use Scanf functions and then some function converting hexadecimal 
numbers to decimal? what would this function be?

T I A
Ernesto

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


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

end of thread, other threads:[~2003-03-28 13:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-27 17:20 [Caml-list] How do I convert 0x hexadecimal integers to decimal integers ? Stalkern 2
2003-03-27 17:54 ` Stalkern 2
2003-03-27 17:58   ` Jun Furuse
2003-03-27 18:24   ` Brian Hurt
     [not found]   ` <002701c2f48a$555fa170$0201a8c0@mordor>
2003-03-27 18:42     ` Stalkern 2

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).