passing value to a function

Thank you everybody for the help...finally I cud use the sprintf and resolve the problem...