# Val Function

ααααααβααααβα’ααααβαα½αβααβααΆβααααααβββαααΒ α

## ααΆαααβααααααα α

`Val (Text As String)`

αααα

## αααΆαααΆαααααα α

Text α ααααβα’ααααβαααβααααΆαβα²ααβαααα½αβαα½αΒ α

αααβααααΎβα’αα»αααα Val α’αααβα’αΆαβααααααβααααβα’ααααβαααβααααΆαβα²ααβαααβααβααΆβααααααβαααΒ α αααβααΊβαααα»αβααΉαβα’αα»αααα StrΒ α ααααα·αβααΎβααααβα’ααααβααΆαβααβαααααβααααβααΆβααα αααβααΆαβααβαα½βα’ααααβααααααβααααΌαβααβααααβα’ααααβααα»ααααα αααβααΉαβααααΌαβααΆαβααααααΒ α ααααα·αβααΎβααααβα’ααααβααααΆαβαααβ α’αα»αααα Val αααα‘ααβααααα 0Β α

## Error codes:

5 ααΆαβα αβαααααβαα·αβααααΉαααααΌα

## α§ααΆα ααα α

`Sub ExampleVal`

`    MsgBox Val("123.123")`

`    MsgBox Val("A123.123")`

`End Sub`