number_to_chars/4

number_to_chars(+ Number, - Result0, - Result)*

Convert the atom Number to the difference list of character codes Result-Result0.