|
|
|
|
|
by karmakaze
1804 days ago
|
|
I see this statement a lot and would like to see it better illustrated or quantified. I worked at a place that used doubles and there was no fallout. Also when dealing with very small quantities, fixed point might not work so well either. |
|
Personally, as a general rule I use integer's and convert for display only (as mentioned in the above SO post). This removes the accuracy issue and works in every programming language that is in common use today (at least that I know of). I even do this in Postgres (and other DB's) which keeps everything consistent and removes the chance a driver between the DB and client jacks up the decimal conversion.