Minor rental miscalculation (in General)


PoisoN June 18 2007 8:59 AM EDT

I hate that text:

---
Problem with Your Input

We had a problem processing your entry:

* Invalid period/count. TOTAL (period * count) duration must be less than 1 month, and more than 1 day.

Please back up using your browser, correct it, and resubmit your entry.

Thank you.
---

As written in the almighty Wikipedia, the average month in the Gregorian calendar has a length of 30.4167 days in non-leap and 30.5 days in a leap year. Not just 4 * 1 week. I'd like to place an item for 5 * 6 days in the rentals, yet it isn't possible. I even waive for the rest. (0.4167 days!!!) ;-)

Flamey June 18 2007 9:02 AM EDT

I used to always get that error. I Honestly have no idea what that means, looks like jibberish, anyone care to explain it?

P.S. PoisoN, post more :)

TheHatchetman June 18 2007 11:10 AM EDT

Flamey, it means 28 days is the longest rental time possible...

Not one month (although it does say that), but 28 days. Bad misleading text! Go to your room! :P

PoisoN June 19 2007 4:44 AM EDT

Well the problem is still there. Maybe not a minor problem and the whole economy system has to be rewritten? ;-)

Miandrital June 19 2007 10:55 AM EDT

Actually, it says it has to be less than one month, not less than or equal to. Assuming we round the month down to 30 days even, this means the duration must be <30. Since 29 is a prime number, it can't be used as a duration, thus leaving 28 days as the largest available option.

No problem here for me. :)

th00p June 19 2007 5:10 PM EDT

You don't use rounding! I'm with PoisoN on this one, because 30 days (5 * 6 days) is still less than one month (30.4167 days).
This thread is closed to new posts. However, you are welcome to reference it from a new thread; link this with the html <a href="/bboard/q-and-a-fetch-msg.tcl?msg_id=0028o3">Minor rental miscalculation</a>