Just curious, but why would you val() the myVar when you already have it 
set as a numeric value? (since it isn't set in quotes then it wouldn't 
be considered a string, right?) Not sure about your test there. Haven't 
really seen this isValid() function yet...

Cutter

Tim Lux wrote:
> Small typo in the cfoutput section. it should be myVar, not myVal.
> 
> On 4/2/06, Tim Lux <[EMAIL PROTECTED]> wrote:
> 
>>Re: isValid().
>>
>>I noticed a strange situtation with isValid.
>>
>>Try this and see if it works on your install:
>>
>><cfset myVar = 3>
>><cfset myVar = VAL(myVar)> <!--- VAL, by definition, takes a string
>>and returns a number --->
>><cfoutput>#isValid("integer",myVal)#</cfoutput>
>>
>>I get NO for the above CFOUTPUT.
>>
>>Tim
>>
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236844
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to