In some of the floating point calculation the result will be strange. Here is one example in a post by a user.
Im getting strange result: 596.45 * 100 = 59645.00000000001
Environment:
Version: Lucee 5.3.9.160
Java: 1.8.0_162 (Oracle Corporation) 64bit
OS: Linux (3.10.0-1160.71.1.el7.x86_64) 64bit
It is a known issue and the solution is to use the function PrecisionEvaluate() https://docs.lucee.org/reference/functions/precisionevaluate.html
Here is another link for the other programming language as well.
https://blog.adamcameron.me/2016/01/floating-point-arithmetic-with-decimals.html