Skip to content

Use a position with Float64? #16

Description

@crosslogic

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions