Skip to content

Suggestion: Transform SingleValue to float #10

@carlos-adir

Description

@carlos-adir

Create a way to transform SingleValue into a number.

The standard way is to direct access from the internal of it

class SingleValue:
    ...
    def __float__(self):
        return float(self.internal)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions