Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow custom formatter for floats #155

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

lthiery
Copy link

@lthiery lthiery commented Sep 24, 2021

I had a service I was integrating with that didn't appreciate the default float output. This allowed me to override the float printing with something like io_lib:format("~.4f", [Float])

lthiery and others added 2 commits September 23, 2021 09:00
- add a test to make sure encoded maps don't represent floats as float-strings.
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.

None yet

2 participants