Hello Don,

Don>>In hex I have 18875 and in bcd 104007715730 ! <<

My example was not meant for this kind of conversion Don.

It was made for a actual Hex between 00 and ff... 4 of them.

For the above, you will have to use Mels example of about 3 months ago, or do a Dig on each variable

the Dig command will take out each number of 18875.. then you can use my code and instead of looping 256, 65536, and 16777216, you loop 16, 256, 4096, 65536, and 1048576 to get your decimal value.

Dwayne