Bill, > return the last char of (10 - ( x mod 10 )) You ripper. Looks good enough to go. Sometimes knowing the hard way can make one unable to see the potential easy way. <g> Will give the function a work out. Thanks!! :-) Scott