Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
crabmusket
2y ago
0 comments
Save
Share
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.
0 comments
2 comments · 1 top-level
top
newest
oldest
krainboltgreene
2y ago
· 1 in thread
Funny, because that's exactly what Stripe does (
https://docs.stripe.com/billing/subscriptions/usage-based/pr...
)
crabmusket
OP
2y 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.
j
/
k
navigate · click thread line to collapse