Converts a number to string. This function is rarely needed, because conversion is done automatically.