Next: , Previous: , Up: Internal Routines   [Contents][Index]

15.5.596 strtol

strtol(s [, base])

Returns the integer value read from the start of string s. If base is specified, then it indicates the base relative to which the value is to be read. Valid bases are any between 2 and 36, inclusive. If base is not specified, then 10 (i.e., decimal) is assumed.

Alias: atol

See also: eval