Y
Hacker News
new
|
ask
|
show
|
jobs
by
crabmusket
791 days ago
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.
1 comments
krainboltgreene
791 days ago
Funny, because that's exactly what Stripe does (
https://docs.stripe.com/billing/subscriptions/usage-based/pr...
)
link
crabmusket
790 days ago
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.
link