Hi I would like to check how to resolve this issue.
If a number is more than assign numberformat mask will have some error.
Sample script below.
----------- START---------
< cf set fac = “0.0078”>
< cf set value1 = “0”>
< cf set value2 = “#numberformat(1/fac,‘9999.9999’)#”>
< cf output >
< cf set value = value1 * value2 >
</ cf output >
----------- END---------
Thanks,
Sonny
Don’t forget to tell us about your stack!
OS: Windows 11 (10.0) 64bit
Java Version: 1.8.0_341 (Oracle Corporation) 64bit
Tomcat Version: Apache Tomcat/9.0.65
Lucee Version: Lucee 6.0.0.346-BETA