Hacker News new | ask | show | jobs
by savethefuture 3283 days ago
Integer, divide by 100 to get actual value.
1 comments

I'm curious as to what makes you say this? IMO this just adds unnecessary complexity, every time you display a price you'd have to perform an additional computation. Same goes for persisting the data if you have an administrative portal for the site - you'd have to edit as decimal store as integer?