LOG IN SIGN UP
Documentation

std.atoi

Takes a string (which represents an integer) as an argument and returns its value.

Format

INTEGER
std.atoi(STRING s)

Examples

if (std.atoi(req.http.X-Decimal) == 42) { set req.http.X-TheAnswer = "Found"; }