Documentation number_codes/2
available from version beta

number_codes/2

Express a number as a list of number codes.

Description

number_codes( +number, ?character_list )
number_codes( -number, +character_list )

number_codes(Number, CodeList) works exactly as number_chars/2, but using number codes instead the number themselves to express Number.

Implementation