CAPL Script

atoi64

This reference collection includes Vector documentation reproduced with permission. Snippets may require configuration-specific symbols and are not all standalone programs. Sources and validation limits.

Syntax

int64 _atoi64(char s[]);

Function

Converts the stringsto a 64bit integer. The number base is decimal.

Parameters

s String to be converted.

Return Values

The converted number. The return value is 0 if the string can’t be converted to a number. It is the largest positive/negative number in case of overflow.

int64 i;i = _atoi64("12345678901")

strtoll | strtoull