Skip to content

Can't parse scientific notation floats #7

@AstraLuma

Description

@AstraLuma
>>> luadata.unserialize('1e-06')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.10/site-packages/luadata/serializer/unserialize.py", line 354, in unserialize
    raise Exception(
Exception: Unserialize luadata failed on pos 1:
    1e-06
     ^
    unexpected character.

For lua 5.1: https://www.lua.org/manual/5.1/manual.html#2.1
For lua 5.3: https://www.lua.org/manual/5.3/manual.html#3.1

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