-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
DecimalField
accepts 2E+2
as 200 and validates decimal place correctly.
#2948
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
Conversation
decimal place correctly.
Here's the failure... https://travis-ci.org/tomchristie/django-rest-framework/jobs/63027829 |
@tomchristie fixed |
Annoying, I ran the tests against master and it already works. |
Then I'd suggest a pull request with just the test, and if that's okay then close this one off until/unless we have a failing test to progress against. |
This is weird, I always first write failing test and then fix issue, I am sure when I posted PR it was failing. Will check at monday if it is still the case on master! 👍 |
I double checked and have no idea why it didn't fail yesterday. |
Added test ensuring DecimalField accepts `2E+2` as 200 and validates decimal place correctly.
2E+2
as 200 and validates decimal place correctly.DecimalField
accepts 2E+2
as 200 and validates decimal place correctly.
Thanks :) |
Fixes #2947
No idea why Travis failed, but I run all tests and all passed.