pf » Floor Function in ColdFusion is Int
May 30, 2006
Floor Function in ColdFusion is Int
Those of you coming from programming languages that have a floor function, may be hard pressed to find it in ColdFusion - that's because it's called Int.
The Int function will take in a floating point number chop off the decimal part, leaving you with just the integer part.
For example:
#Int(5.2)# = 5 #Int(2.9)# = 2
Related Entries
- Top 10 Underrated Functions in ColdFusion - January 10, 2007
Trackback Address: 634/880CEEA6AE5334013D68392B60446B48
Spell Checker by Foundeo
- CFSCRIPT Cheatsheet
- 3 New Image Effects for ColdFusion 8
- Googlebot to Submit Web Forms
- ColdFusion 8 Update 1 Fixes some Image Processing Quirks
- 10 Most Useful Image Functions in ColdFusion 8
- Speaking at NYC CFUG This Week
- Adobe AIR Tutorial for HTML / JavaScript Developers
- INFORMATION_SCHEMA Support in MySQL, PostgreSQL
Subscribe to my RSS Feed:
RSS
RSS
add to del.icio.us
Pete Freitag is a software engineer, and web developer located in










