Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add division (div) operator to calc plugin #5319

Merged
merged 6 commits into from
Nov 30, 2022
Merged

Conversation

panzerdev
Copy link
Contributor

@panzerdev panzerdev commented Nov 29, 2022

Fix #5314

provider/calc.go Outdated Show resolved Hide resolved
provider/calc.go Outdated Show resolved Hide resolved
@andig andig added the enhancement New feature or request label Nov 29, 2022
If the dividend is 0 then the result is 0 right away, otherwise the value will be divided by every divisor != 0. Divisor == 0 are ignored and don't change the result
@andig andig merged commit 675e944 into evcc-io:master Nov 30, 2022
@panzerdev panzerdev deleted the patch-2 branch November 30, 2022 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add div() function/wrapper to calc
2 participants