> For the complete documentation index, see [llms.txt](https://docs.kognitos.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kognitos.com/legacy/legacy-experience/automation-areas/text/conversions/convert-a-character-to-a-number.md).

# Convert a Character to a Number

Convert a character into its corresponding numeric ASCII value.

## Overview

This operation allows you to convert a single character into its corresponding numeric value based on the [ASCII table](https://www.asciitable.com/). ASCII is a standard encoding scheme where numbers represent specific characters, such as letters, digits, and symbols.

## Syntax

```
the character is "{input}"
convert the character to a number
```

## Data

The table below lists the names of the data elements in this operation and indicates which can be renamed in the syntax.

| Data Name     | Can Be Renamed |
| ------------- | -------------- |
| the character | No             |

## Parameters

**Parameters** are placeholders for data. Refer to the table below for details on each parameter in this operation. In the syntax, replace parameters with your own values.

| Parameter | Description                                | Example | Required |
| --------- | ------------------------------------------ | ------- | -------- |
| `input`   | A single character to convert to a number. | A       | Yes      |

## Examples

{% tabs %}
{% tab title="Automation" %}

```
the character is "A"
convert the character to a number
```

{% endtab %}

{% tab title="Results" %}

```
65
```

{% endtab %}
{% endtabs %}
