이 콘텐츠는 선택한 언어로 제공되지 않습니다.
function::strtol
Name
function::strtol — strtol - Convert a string to a long
Synopsis
strtol:long(str:string,base:long)
Arguments
str
- string to convert
base
- the base to use
Description
This function converts the string representation of a number to an integer. The
base
parameter indicates the number base to assume for the string (eg. 16 for hex, 8 for octal, 2 for binary).