int_to_string
Lib.int_to_string : int -> string
Translates an integer into a string.
An application int_to_string i
returns the printable
form of i
.
Never fails.
- int_to_string 12323;
> val it = "12323" : string
- int_to_string ~1;
> val it = "~1" : string
Equivalent functionality can be found in the Standard ML Basis
Library function Int.toString
.