-
Notifications
You must be signed in to change notification settings - Fork 308
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
How to solve precision problem in tengo? #379
Comments
I think this might be due to the Go json package parsing numbers as floats. I’m not sure you can do anything other than write a custom parser for your use case |
Thanks for replying. Does Tengo support for custom parsers? Or should I realize it in another way. |
Tengo’s json parsing is built off of Go’s but yes you can fairly easily modify it and create your own json library. This might help you get started: Line 210 in f90d433
|
Thanks, help me a lot! |
Hi, thanks for such a great project!
How to solve precision problem in tengo?
result: 7075984636689534000
The text was updated successfully, but these errors were encountered: