Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save trycf/8c9a4683346f3e7fa0ee1dcbf9e736ec to your computer and use it in GitHub Desktop.

Select an option

Save trycf/8c9a4683346f3e7fa0ee1dcbf9e736ec to your computer and use it in GitHub Desktop.
TryCF Gist
<cfset x = Floor((0.29 *100))>
<cfset a = 0.29 * 100>
<cfset y = Int(x)>
<cfoutput>x=#x#</cfoutput>
<br>
<cfoutput>a=#a#</cfoutput>
<br>
<cfoutput>y=#y#</cfoutput>
<br>
<cfoutput>#IsValid("integer", a)#</cfoutput>
<br>
<cfoutput>#IsValid("integer", 29)#</cfoutput>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment