thanx, for all your replies to my original query. I took the definition of ceiling function literally and didnot check the manual properly. Sorry for the oversight. sanjoy