function::strtol
名前
function::strtol — strtol - 文字列を long に変換します。
概要
strtol:long(str:string,base:long)
strtol:long(str:string,base:long)
引数
str
- 変換する文字列。
base
- 使用するベース。
説明
この関数は、数字の文字列表現を整数に変換します。ベースパラメーターは文字列に想定する数値のベースを示します (例: 16 進数の場合は 16、8 進数の場合は 8、バイナリーは 2)。