If you just want to see if it's evenly divisible by 10, then just check 
to see if the last number of temp eq 0, something like this:

<cfif Mid(temp,Len(temp)-1,1) eq 0>
.....
</cfif>

That is untested by the way, you might have to fiddle with the Mid 
function (I'm not at a place where I can test it right now)

-Jake Churchill


Brian Dumbledore wrote:
> I couldn't think of a workaround for this.. For whatever reason, I am trying 
> to do a
> <cfset temp = gettickcount()>
> <cfif temp mod 10 eq 0>
>
> .....
>
> </cfif>
>
> and cf complains that temp value to a integer because it cannot fit inside a 
> integer. Is there any other simple way to handle this? How do I specify a 
> Long or something such? 
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315426
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to