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

Use a position with Float64? #16

Open
crosslogic opened this issue Sep 6, 2020 · 0 comments
Open

Use a position with Float64? #16

crosslogic opened this issue Sep 6, 2020 · 0 comments

Comments

@crosslogic
Copy link

Hi, I was wondering if there's a way to use a Position with a Float64 (instead of Int)

I'm in a project where I need to use USD and ARS, those work great. But others like liters of milks, hectare of land, kilograms of corn I can't use them because i need to do things like x = 0.00343SOY.

I want the type safety so I don't confuse units (3000SOY + 1000CORN)

Is there a way to do 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

1 participant