Skip to content

Decimal shorthand read as string #33

@LukeTemp

Description

@LukeTemp

If decimals between 0 and 1 are written in shorthand, e.g., .8 rather than 0.8, then they are parsed as strings:

>>> lua.decode("""{ SizeZ = .8, }""")
{'SizeZ': '.8'}
>>> lua.decode("""{ SizeZ = 0.8, }""")
{'SizeZ': 0.8}

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