Skip to content

Instantly share code, notes, and snippets.

Created September 18, 2016 13:37
Show Gist options
  • Save anonymous/fe3898ed3be651130e5efedbd08dba7f to your computer and use it in GitHub Desktop.
Save anonymous/fe3898ed3be651130e5efedbd08dba7f to your computer and use it in GitHub Desktop.
TryCF Gist
<cfscript>
myNumber = 10;
writeOutput( myNumber.len() );
//This will throw a "The len method was not found"
//myJavaNumber = JavaCast( "int", myNumber );
// writeOutput( myJavaNumber.len() );
//This will throw a "The len method was not found"
myQueryNumber = queryNew( "id", "integer", {id: 16} ).id;
writeDump( myQueryNumber.len() );
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment