Yeah, you need to deal with the fact that "" is non-numeric.There's
actually a bunch of different ways to do this though... have your
cfargument with type="numeric" also have default="0", or pass in a 0
for that argument, or have type="any" or type="string" and do
isNumeric(arguments.myNumber) before doing anything with it. Check for
structKeyExists(arguments,"myNumber) before doing anything in your
function.
There's a bazillion ways to make sure the argument is correct... just
pick one and go with it.
J