> For the complete documentation index, see [llms.txt](https://doc.sysdevmobile.com/kalipso5/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.sysdevmobile.com/kalipso5/developing/form/expressions/functions/functions-descriptions/numeric-functions/val.md).

# Val

This Function returns a *\<numeric>*, which is the specified **Value** converted to numeric.

Function available for the following operating systems:

![](/files/-MAlQBZuuTnc6hyzKSVQ)

### Parameters

* **Value** *\<string> -* String value to be converted to numeric.

### **Examples**

|                                                                                         |                                                                                 |
| --------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
| <p><em>Example 1</em></p><p>Val("123")<br><strong>Result</strong> = 123</p>             | <p><em>Example 2</em></p><p>Val("1.23")<br><strong>Result</strong> = 1.23</p>   |
| <p><em>Example 3</em></p><p>Val("Kalipso")<br><strong>Result</strong> = 0</p>           | <p><em>Example 4</em></p><p>Val("1minus3")<br><strong>Result</strong> = 1</p>   |
| <p><em>Example 5</em></p><p>Val("1D3")<br><strong>Result</strong> = 1000</p>            | <p><em>Example 6</em></p><p>Val("1d2")<br><strong>Result</strong> = 100</p>     |
| <p><em>Example 7</em></p><p>Val("1D-3")<br><strong>Result</strong> = 0.001</p>          | <p><em>Example 8</em></p><p>Val("1d-2")<br><strong>Result</strong> = 0.01</p>   |
| <p><em>Example 9</em></p><p>Val("1E3")<br><strong>Result</strong> = 1000</p>            | <p><em>Example 10</em><br><br>Val("1e2")<br><strong>Result</strong> = 100</p>   |
| <p><em>Example 11</em><br><br>Val("1E-3")<br><strong>Result</strong> = 0.001</p>        | <p><em>Example 12</em><br><br>Val("1e-2")<br><strong>Result</strong> = 0.01</p> |
| <p><em>Example 13</em><br><br>Val("1" + "2" + "3")<br><strong>Result</strong> = 123</p> |                                                                                 |

{% hint style="info" %}
The specified **Value** can contain an optional plus or minus sign.
{% endhint %}

{% hint style="info" %}
The specified **Value** can contain an optional decimal-point character.
{% endhint %}

{% hint style="info" %}
The specified **Value** can contain an optional exponent part, which itself consists on an "e" or "E" character followed by an optional sign and a sequence of digits.
{% endhint %}


---

# 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, and the optional `goal` query parameter:

```
GET https://doc.sysdevmobile.com/kalipso5/developing/form/expressions/functions/functions-descriptions/numeric-functions/val.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
