GSAK (Geocaching Swiss Army Knife)
Contents - Index

Val (function)

Val( sData ) : number

Returns the number equivalent of a string. Val("45") = 45, Val("16fred") = 16

Note: This function terminates at the first character that can not be converted to a number. So Val("Fred16") = 0

Also see the complimentary Str and NumToStr functions

Alpha List         Category List
Copyright 2004-2015 CWE Computer Services  
Privacy Policy Contact