Skip to content

Commit

Permalink
set precisemath default to false
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeloffner committed Dec 12, 2024
1 parent 9c8b38e commit 5781516
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/java/lucee/runtime/config/ConfigImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -6106,12 +6106,12 @@ public boolean getPreciseMath() {
if (preciseMath == null) {
synchronized (SystemUtil.createToken("ConfigImpl", "getPreciseMath")) {
if (preciseMath == null) {
boolean pm = true;
boolean pm = false;
String str = ConfigFactoryImpl.getAttr(root, "preciseMath");
if (StringUtil.isEmpty(str, true)) str = SystemUtil.getSystemPropOrEnvVar("lucee.precise.math", null);

if (!StringUtil.isEmpty(str, true)) {
pm = Caster.toBooleanValue(str, true);
pm = Caster.toBooleanValue(str, false);
}
preciseMath = pm;
}
Expand Down

0 comments on commit 5781516

Please sign in to comment.