summaryrefslogtreecommitdiff
path: root/docs/src/reference/scripting.md
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-04-11 21:39:46 +0200
committerLaurenz <laurmaedje@gmail.com>2023-04-11 21:39:46 +0200
commit42be51609b82675c8df4bdfdade209c4dacc8721 (patch)
treeead8dc48dc3e0e928c720d8b57fba51220f44d21 /docs/src/reference/scripting.md
parent5bc73be90fdb7d46ea67bc00babc5f4833854306 (diff)
Remove support for number / ratio
If `1 * 40%` and `1 / 40%` both work, then I would expect `1cm * 40%` and `1cm / 40%` to work, too. So the result of both multiplication and division is always the left type. Same with `100% * 40%`. But `100% / 40%` does not return a ratio, it returns a float. This breaks the consistency. For this reason, I am removing support for just the new divisions for now, but we can revisit this.
Diffstat (limited to 'docs/src/reference/scripting.md')
0 files changed, 0 insertions, 0 deletions