| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Keith C. Ivey | Date: | July 16 2003 8:42pm |
| Subject: | Re: Best practice column type for storing decimal currency amounts? | ||
| View as plain text | |||
On 16 Jul 2003 at 16:02, John Hicks wrote: > Thanks for the reply, Rudy. > > My source for the statement that decimal values are stored > as strings is: > http://www.mysql.com/doc/en/Numeric_types.html : DECIMAL values may very well be stored as strings, but presumably you're going to do some calculations on them as well at some point, and it's likely that not all those calculations are going to occur in MySQL (even assuming MySQL handles DECIMAL calculations exactly). You may have an easier time in your applications doing the calculations on integers. -- Keith C. Ivey <keith@stripped> Tobacco Documents Online http://tobaccodocuments.org
| Thread | ||
|---|---|---|
| • Best practice column type for storing decimal currency amounts? | John Hicks | 15 Jul |
| • RE: Best practice column type for storing decimal currency amounts? | Rudy Metzger | 16 Jul |
| • Re: Best practice column type for storing decimal currency amounts? | John Hicks | 16 Jul |
| • Re: Best practice column type for storing decimal currency amounts? | Keith C. Ivey | 16 Jul |
| • RE: Best practice column type for storing decimal currency amounts? | Rudy Metzger | 17 Jul |
