Rounds a number to the closest integer.
round(number)
→ returns numeric
round(1.56)
Expected Result: 2
round(1.49)
Expected Result: 1
round(-0.9)
Expected Result: -1
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.