Microsoft Interview Question

Given a number write a function to convert that number to a string that would be seen on a cheque. Example: 2376 becomes two thousand three hundred and seventy six.