Skip to content

env.float doesn't work with negative numbers #43

@kszilagyiOT

Description

@kszilagyiOT

Negative numbers are converted into positive ones. env.list seem to work with subcast
I think the problem is here, the minus sign is stripped:

float_str = re.sub(r'[^\d,\.]', '', value)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions