Y
Hacker News
new
|
ask
|
show
|
jobs
by
a_c_s
700 days ago
If you have a decimal then you should store it as a Decimal type, not a float nor an int. This is why Decimal types exist - the fact that most programming languages don't have a native Decimal type baffles me.