Copy link to clipboard
Copied
<cfloop index=i from=10 to=30 step=10>
<cfswitch expression="#i#/10">
<cfcase value="1,2,3">
value 1 and 2 and 3 should all be Found it here
</cfcase>
<cfdefaultcase>
<!--- do not do anything --->
</cfdefaultcase>
</cfswitch>
</cfloop>
Try it, see if it works for you.
Copy link to clipboard
Copied
<cfloop index="i" from="10" to="30" step="10">
<cfswitch expression="#i/10#">