• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Name

Val

Synopsis

                    Val(string)

Returns a number that the beginning of the specified string can be converted to. If conversion isn’t possible, returns 0. Examples:

<cfoutput>
Val(123): #Val(123)#<br>
Val('abc'): #Val('abc')#<br>
Val('1a2b3c'): #Val('1a2b3c')#<br>
Val(true): #Val(true)#<br>
Val(11/11/02): #Val(11/11/02)#<br>
</cfoutput>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint