I know the below code will convert a hex number to dec. put baseConvert(tmpVar,16,10) into tmyNumber like wise will put baseConvert(tmpVar,10,16) into tmyNumber convert a dec to hex? Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org