> ## Documentation Index
> Fetch the complete documentation index at: https://notevil.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CAPLfunctionatoi64

[Open topic with navigation](../../../../../CANoeDEFamily.htm#Topics/CAPLFunctions/Other/Functions/CAPLfunctionatoi64.md)

**CAPL Functions** » [General](../CAPLGeneralStartPage.md) » [Function Overview](../CAPLfunctionsGeneralOverview.md) » \_atoi64

# \_atoi64

[Valid for](../../../Shared/FeatureAvailability.md): CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE

## Function Syntax

```plaintext theme={null}
int64 _atoi64(char s[]);
```

## Description

Converts the string **s** to 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.

## Example

```plaintext theme={null}
int64 i;
i = _atoi64("12345678901")
```

[strtoll](CAPLfunctionStrtoll.md) • [strtoull](CAPLfunctionStrtoull.md)
