You might try using int(val()) as a workaround in the interrim if you
know it needs to be an integer. It's possible that eval(val()) might
also work for numbers with decimals.
> In that example, I knew the value was a number so I
> wouldnt val() it. But let's say it was a URL parameter. I
> always do something like VAL() around them when I expect a
> number -- and I noticed that running
> isValid("integer",myVal) returns NO on legitimate numbers
> that have been VAL()'d. It seems like a bug.
> Tim
>>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
s. isaac dealey 434.293.6201
new epoch : isn't it time for a change?
add features without fixtures with
the onTap open source framework
http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236853
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