Home > Archive > dBASE Questions and Answers > February 2006 > convert hexadecimal to binary and bynary to hexadecinal









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author convert hexadecimal to binary and bynary to hexadecinal
Fernandez

2006-02-25, 9:47 am

Hello

How can I convert hexadecimal value to binary and binary to
hexadecinal ?
For example :
0x80 -> 10000000 (binary).


Kind regards
Fernandez

Jan Hoelterling

2006-02-25, 9:47 am

Look at the DUFLP, convert.cc contains functions for Binary to decimal and
back. Using the built-in ITOH and HTOI functions, you can then easily change
to Hex.

HTH,

Jan

"Fernandez" <ibermetais.tecnico@mail.telepac. pt> wrote in message
news:s2o1AoIOGHA.592@news-server...
> Hello
>
> How can I convert hexadecimal value to binary and binary to
> hexadecinal ?
> For example :
> 0x80 -> 10000000 (binary).
>
>
> Kind regards
> Fernandez
>



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com