Val Function
- Mise à jour2025-07-21
- Temps de lecture : 1 minute(s)
Val Function
Syntax
Number Val(String string, [Out] [Boolean isValid])
Return Value
The number represented by the string. If the string did not represent a valid number, returns 0.
Parameters
string as String
The string to convert.
isValid as Boolean
An optional Boolean parameter that the function sets to indicate if the first parameter contains a valid number.