# string.val()

Converts numeric characters that occur at the beginning of a
string to a number. If conversion fails, returns zero.

```
string.val( )
```

**Returns:** number

*This function does not take any arguments.*

# Examples

*There are currently no examples for this function*

# Categories

[Strings](../../../categories/string.md)

# See Also

[Val()](../../functions/val.md), [String](../string.md)