Skip to content

Commit

Permalink
Update mathematical-precision.md
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer authored Dec 4, 2024
1 parent 3f2647f commit c5c8032
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/recipes/mathematical-precision.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ Since version 6.0, all numbers Lucee uses in the runtime are by default BigDecim
this.preciseMath = false;
```

## Dynamically during a request

You also simply toggle precision on or off for the current request.

```lucee
application action="update" preciseMath="true|false";
```

## System Property / Environment Variable

You can also change that behavior with the system property `-Dlucee.precise.math=false` or with the environment variable `LUCEE_PRECISE_MATH=false`.

0 comments on commit c5c8032

Please sign in to comment.