native

str_to_num

Syntax

native str_to_num(const string[]);

Description

Converts a string to an integer.

Parameters

string String to convert.

Return

Integer conversion of string, or 0 on failure.