round
Rounds a number to the closest integer.
round(number) → returns numeric
Argument Reference
number numeric Required
Examples Sample code invoking the round function
round(1.56) Expected Result: 2
round(1.49) Expected Result: 1
round(-0.9) Expected Result: -1
© 2012–present Foundeo, Inc. and the CFDocs contributors.
Licensed under the MIT License.
ColdFusion is a trademark of Adobe Systems Incorporated.
https://cfdocs.org/round