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

Consider making unit interfaces more flexable than just someUnitScale: Long #42

Open
kevincianfarini opened this issue Jan 3, 2025 · 1 comment
Labels
breaking change enhancement New feature or request
Milestone

Comments

@kevincianfarini
Copy link
Owner

These should probably expose functions of some sort so that unit which aren't perfectly divisible by a certain scale can still be somewhat accommodated.

@kevincianfarini kevincianfarini added this to the 0.2.0 milestone Jan 3, 2025
@sargunv
Copy link

sargunv commented Jan 8, 2025

Example of such a real world unit, the US survey foot is (was) defined as 1200/3937 meters, which is ~304800609.6012192nm. It's not divisible by nanometers, so it can't currently be represented by this library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants