typelevel / squants

The Scala API for Quantities, Units of Measure and Dimensional Analysis
https://www.squants.com
Apache License 2.0
922 stars 122 forks source link

Is it possible to create custom units in the library? #543

Open kushtehlan opened 2 years ago

kushtehlan commented 2 years ago

Hey Guys,

I know it's not an issue but just wanted to know if is it possible to create custom units in the library.

E.g. i want to define new unit , lets say abc and the value of that would be 1 MegawattPerHour 2

I mean can we create our own custom units in this library and use it.