Previous: , Up: Conversion Functions   [Contents][Index]


21.4.5 ltos

The ltos standard function converts a given long integer into its printed representation in some given base. It has the following prototype:

fun ltos = (long i, uint base = 10) string:

where i is the number for which to calculate the printed representation, and base is a number between 0 and 16.