diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-04-11 21:39:46 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-04-11 21:39:46 +0200 |
| commit | 42be51609b82675c8df4bdfdade209c4dacc8721 (patch) | |
| tree | ead8dc48dc3e0e928c720d8b57fba51220f44d21 /docs/src/reference/scripting.md | |
| parent | 5bc73be90fdb7d46ea67bc00babc5f4833854306 (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
