Closed Bug 501793 Opened 17 years ago Closed 17 years ago

Error message on entering 0.000 as suggested amount in contributions page

Categories

(addons.mozilla.org Graveyard :: Developer Pages, defect)

defect
Not set
minor

Tracking

(Not tracked)

VERIFIED WONTFIX

People

(Reporter: krupa.mozbugs, Unassigned)

References

()

Details

Steps to reproduce: 1.Log in to your developer AMo account 2.Navigate to Developer dashboard->edit add-on->Contributions 3.Enter your paypal account details 4.In suggested amount field,enter "0.000" expected result: Since the suggested ranged is 00.00 to 99.99,0.000 should also be accepted actual result: There is an error message thrown-"Should be a positive number between 0.00 and 99.99." screenshot:http://screencast.com/t/jubEaPjah
I would say this is invalid, because 3 decimal places is not valid money and we're not in the business of rounding your money, even for obvious cases like this. It would be possible to convert the string to a number and multiply by 100 and truncate, but that sounds complicated and complaining about valid inputs is so much easier. Other opinions welcome.
Hardware: x86 → All
(In reply to comment #1) > I would say this is invalid, because 3 decimal places is not valid money and > we're not in the business of rounding your money, even for obvious cases like > this. agreed
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WONTFIX
verified
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.