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

Why is there no type for kWh? #138

Open
UPC-PaalDriveklepp opened this issue Feb 21, 2024 · 1 comment
Open

Why is there no type for kWh? #138

UPC-PaalDriveklepp opened this issue Feb 21, 2024 · 1 comment

Comments

@UPC-PaalDriveklepp
Copy link

I just want to do
const auto capacity = 100.0_kWh;

@bernedom
Copy link
Owner

bernedom commented Feb 21, 2024

kWh is not SI unit, which is why it is missing. The SI unit for Energy is Joule. But given its widespread use I'll consider adding it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants