Hi,
In Adobe Coldfusion, the round function is to rounds a number to the closest integer. In the Lucee documentation for the Round function, the description is :
Rounds a number to the closest integer.
But there is an optional argument, precision, for the number of decimals.
Round(3.1415926535, 2) <!--- Will return 3.14 on Lucee --->
Can I trust this function to round a number to two decimal places, like 3.1415926535 to 3.14? If this is the case, the documentation should be updated in this direction, because it leaves me in doubt and I wonder if I will not have a bad surprise during an update of Lucee. Especially since Adobe Coldfusion continues to round to the nearest integer.
Thank you!