> 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

## 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 %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.kognitos.com/legacy/legacy-experience/automation-areas/text/conversions/convert-a-character-to-a-number.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
