# How to Convert of ASCII hex number to decimal conversion

Page 1 of 1

## 3 Replies - 11705 Views - Last Post: 05 March 2009 - 12:36 AMRate Topic: //<![CDATA[ rating = new ipb.rating( 'topic_rate_', { url: 'https://www.dreamincode.net/forums/index.php?app=forums&module=ajax&section=topics&do=rateTopic&t=68144&amp;s=f61a00610eb4c4200514f0e79d1c99e8&md5check=' + ipb.vars['secure_hash'], cur_rating: 0, rated: 0, allow_rate: 0, multi_rate: 1, show_rate_text: true } ); //]]>

### #1 DixitSolanki

Reputation: 0
• Posts: 6
• Joined: 19-October 08

# How to Convert of ASCII hex number to decimal conversion

Posted 19 October 2008 - 12:09 AM

I want to convert ASCII hex number to decimal conversion.

For Example :

1: F01A is converted into Decimal: 61466
2: FFFC64F0 is converted into Decimal: 4294730992

What is the best way to create a smaller function for the above like conversion.

Pls.send me the complete function in VB6[code]
Is This A Good Question/Topic? 0

## Replies To: How to Convert of ASCII hex number to decimal conversion

### #2 Ideatico

Reputation: 0
• Posts: 3
• Joined: 19-October 08

## Re: How to Convert of ASCII hex number to decimal conversion

Posted 20 October 2008 - 04:41 PM

DixitSolanki, on 19 Oct, 2008 - 12:09 AM, said:

I want to convert ASCII hex number to decimal conversion.

For Example :

1: F01A is converted into Decimal: 61466
2: FFFC64F0 is converted into Decimal: 4294730992

What is the best way to create a smaller function for the above like conversion.

Pls.send me the complete function in VB6[code]

There may be better ways but this works for me. Good luck.

{CODE REMOVED}

### #3 PsychoCoder

Reputation: 1659
• Posts: 19,853
• Joined: 26-July 07

## Re: How to Convert of ASCII hex number to decimal conversion

Posted 20 October 2008 - 04:47 PM

@Ideatico: I removed the code you posted because we have a policy here at Dream.In.Code that we don't just give people code because they ask for it. We require effort on their part, we are here to help, not to do their work for them

### #7 fusionraj

Reputation: 2
• Posts: 1
• Joined: 05-March 09

## Re: How to Convert of ASCII hex number to decimal conversion

Posted 05 March 2009 - 12:36 AM

PsychoCoder, on 20 Oct, 2008 - 03:47 PM, said:

@Ideatico: I removed the code you posted because we have a policy here at Dream.In.Code that we don't just give people code because they ask for it. We require effort on their part, we are here to help, not to do their work for them

Don't be think in olden days, let them share their thought inform of either knowladge or code.
:-)