Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This isn't sufficient to represent prices which often include fractional amounts of cents in non-retail scenarios. Think of AWS server prices per hour.


Funny, because that's exactly what Stripe does (https://docs.stripe.com/billing/subscriptions/usage-based/pr...)


But those are decimal values, not integers. I didn't mean that using cents as a unit was insufficient, I meant that using integers was.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: