number_chars/2
[ISO]number_chars(
+Number,
-Chars)
number_chars(
-Number,
+Chars)
Chars is the chars comprising the printed representation of Number.
Initially, either Number must be instantiated to a number, or Chars must be instantiated to a proper chars.
If Chars is instantiated to a chars that corresponds to the correct syntax of a number, Number will be unified with that number.
Else, Number should be instantiated to a number, and Chars will be unified with the chars that make up its printed representation.
instantiation_error
type_error
representation_error
syntax_error
number_codes/2
.