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

Cannot parse number without affecting precision #61

Open
prashantsagrawal opened this issue Aug 18, 2023 · 0 comments
Open

Cannot parse number without affecting precision #61

prashantsagrawal opened this issue Aug 18, 2023 · 0 comments

Comments

@prashantsagrawal
Copy link

Issue Title

Cannot parse number without affecting precision

Description

When attempting to delimit a number, it's currently required to specify precision (or the default precision of 2 is used). The goal is to parse a string without affecting the precision of the number.

Example

For instance, given the number 203344.43224455333 and using options [precision: :inf, separator: ".", delimiter: ","], the expected result is:
"203,344.43224455333".

Summary

The function should offer the capability to set a "inf" precision, which means that in such cases, precision should remain unaffected.

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

No branches or pull requests

2 participants