New round() Precision In Adobe ColdFusion 2025 Update 8
Read OriginalThis article discusses a minor but useful improvement in Adobe ColdFusion 2025 Update 8: the round() function now accepts a second argument for decimal precision, allowing rounding to a specific number of decimal places instead of only to the nearest integer. The author provides a code demo comparing old workarounds (numberFormat, decimal shifting) with the new approach, and notes that round() does not add comma formatting. The post also includes a brief aside on significant digits in calculations. Reader comments highlight that this feature is not yet documented officially.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser
Top of the Week
No top articles yet