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