Skip to content

Feat/float precision#13

Open
tarwin wants to merge 2 commits into
bd808:mainfrom
tarwin:feat/float-precision
Open

Feat/float precision#13
tarwin wants to merge 2 commits into
bd808:mainfrom
tarwin:feat/float-precision

Conversation

@tarwin

@tarwin tarwin commented Oct 26, 2021

Copy link
Copy Markdown
Contributor

Added an option floatPrecision that when set to an integer value above 0 will fix float values to a specific precision.

phpunserialize('<A SERIALIZED OBJ>', { floatPrecision: 3 });

@bd808

bd808 commented Dec 30, 2021

Copy link
Copy Markdown
Owner

Needs rebasing and tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants