String to hexadecimal converter project
Write a function which would convert a number into a string with the number's hexadecimal representation.
Code should be portable, maintainable, scalable and so on - the best you can do. Unit test for the function or even test-driven development would be nice to have.