Staff need to convert a decimal number to hexadecimal, binary, bit, byte someone could help me with some example.
thank you
convert a decimal number
Moderator: Rathinagiri
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: convert a decimal number
Hi,
I think you can use these Harbour Functions:
BINTODEC(<cString>) --><cNr>
OCTALTODEC(<cString>) --><cNr>
HEXATODEC(<cString>) -><cNr>
DECTOBIN(<cString>) --><cNr>
DECTOOCTAL(<cString>) --><cNr>
DECTOHEXA(<cString>) --><cNr>
I think you can use these Harbour Functions:
BINTODEC(<cString>) --><cNr>
OCTALTODEC(<cString>) --><cNr>
HEXATODEC(<cString>) -><cNr>
DECTOBIN(<cString>) --><cNr>
DECTOOCTAL(<cString>) --><cNr>
DECTOHEXA(<cString>) --><cNr>
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
Re: convert a decimal number
thank you rathi
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: convert a decimal number
Or NTOC() / CTON() function may be useful.
Regards
--
Esgici
Regards
--
Esgici
Viva INTERNATIONAL HMG
Re: convert a decimal number
thank you Esgici