Skip to content

Incorrect transformation of string to float #5

@carlos-adir

Description

@carlos-adir

When converting a string into a subset, it transforms to float while it should be int:

>>> from rbool import *
>>> from_any("{-5, 3}")
{-5.0, 3.0}

Expected behaviour

>>> from rbool import *
>>> from_any("{-5, 3}")
{-5, 3}

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions