# Val

> Kalipso 5.0 documentation · https://doc.sysdevmobile.com/kalipso/5.0/developing/form/expressions/functions/functions-descriptions/numeric-functions/val

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

Function available for the following operating systems:

-d4a54d199c0ad0f6bafe31121399c7f2.png)

### Parameters

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

### **Examples**

|                                                                                         |                                                                                       |
| --------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| <p><em>Example 1</em></p><p></p><p>Val("123")<br><strong>Result</strong> = 123</p>      | <p><em>Example 2</em></p><p></p><p>Val("1.23")<br><strong>Result</strong> = 1.23</p>  |
| <p><em>Example 3</em></p><p></p><p>Val("Kalipso")<br><strong>Result</strong> = 0</p>    | <p><em>Example 4</em></p><p></p><p>Val("1minus3")<br><strong>Result</strong> = 1</p>  |
| <p><em>Example 5</em></p><p></p><p>Val("1D3")<br><strong>Result</strong> = 1000</p>     | <p><em>Example 6</em></p><p></p><p>Val("1d2")<br><strong>Result</strong> = 100</p>    |
| <p><em>Example 7</em></p><p></p><p>Val("1D-3")<br><strong>Result</strong> = 0.001</p>   | <p><em>Example 8</em> </p><p></p><p>Val("1d-2")<br><strong>Result</strong> = 0.01</p> |
| <p><em>Example 9</em> </p><p></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> |                                                                                       |

:::info
The specified **Value** can contain an optional plus or minus sign.
:::

:::info
The specified **Value** can contain an optional decimal-point character.
:::

:::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.
:::
