-
Notifications
You must be signed in to change notification settings - Fork 85
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
Support "decimal" module #32
Labels
Comments
You can add this kind of thing yourself trivially:
returns:
I'd rather keep simpleeval slim without adding this functionality to the base module. But it's a cool idea! Thanks for asking. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Would be possible to support the
decimal
module, such that e.g.simple_eval('0.1+0.2')
gives0.3
instead of0.30000000000000004
?The text was updated successfully, but these errors were encountered: