3 ms·
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.
by crabmusket 3y 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.
- krainboltgreene 3y agoFunny, because that's exactly what Stripe does (https://docs.stripe.com/billing/subscriptions/usage-based/pricing-models#decimal-amounts https://docs.stripe.com/billing/subscriptions/usage-based/pr...)
- crabmusket 3y agoBut those are decimal values, not integers. I didn't mean that using cents as a unit was insufficient, I meant that using integers was.