new sendNum implementation using stdlib's ltoa