News for hackers. Stuff that matters.
Re: Beta of "a startup" I'm working on: Billable. Easy invoi... by bartman on Saturday August 28, 2010 @03:50PM (#1642283)
Having 1 item with a price tag of $10.50 will display a total of $10.5. I'd have expected $10.50 :)
Re: Beta of "a startup" I'm working on: Billable. Easy invoi... by tyweir on Saturday August 28, 2010 @04:29PM (#1642343)
Further, 21 items that cost $55.1 total $1157.1000000000001
Re: Beta of "a startup" I'm working on: Billable. Easy invoi... by jfarmer on Saturday August 28, 2010 @04:42PM (#1642369)
Do not, do not, do not use floating-point arithmetic for money.
Re: Beta of "a startup" I'm working on: Billable. Easy invoi... by jrockway on Saturday August 28, 2010 @04:40PM (#1642360)
Further, the validation for the price field lets you type in prices like "1.2.3.4", which is confusingly invalid.

Who needs tests when you have HN!

Re: Beta of "a startup" I'm working on: Billable. Easy invoi... by tyweir on Saturday August 28, 2010 @04:46PM (#1642380)
Maybe you expect payment in IP addresses.
Re: Beta of "a startup" I'm working on: Billable. Easy invoi... by ataggart on Saturday August 28, 2010 @04:42PM (#1642368)
fp math + money = Superman III
Re: Beta of "a startup" I'm working on: Billable. Easy invoi... by pistoriusp on Saturday August 28, 2010 @07:17PM (#1642610)
Oh, thanks.