val Function

Purpose:

Converts a string to a number.

Syntax:

val(string)

Comments: 

If string contains a "." then the return value will be real, otherwise an integer will be returned.

Example:

p val("1.23")

1.2300