Skip to content

Commit c5c8032

Browse files
authored
Update mathematical-precision.md
1 parent 3f2647f commit c5c8032

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/recipes/mathematical-precision.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ Since version 6.0, all numbers Lucee uses in the runtime are by default BigDecim
2626
this.preciseMath = false;
2727
```
2828

29+
## Dynamically during a request
30+
31+
You also simply toggle precision on or off for the current request.
32+
33+
```lucee
34+
application action="update" preciseMath="true|false";
35+
```
36+
2937
## System Property / Environment Variable
3038

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

0 commit comments

Comments
 (0)