>Thanks Cetin and George. I wanted to use bintoc() to represent numbers in TCP/IP messages, but the 'negative' convention forces me to use a UDF.
Hit to 'the other purpose' :) Well I simply do :
lnNumber1 = iif(lnNumber > 0x7FFFFFFF, 0x7FFFFFFF-lnNumber, lnNumber)
Cetin