| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Paul DuBois | Date: | September 16 2002 5:57pm |
| Subject: | Re: Data type for currency | ||
| View as plain text | |||
At 12:08 -0500 9/15/02, Paul DuBois wrote: >At 8:58 -0700 9/15/02, Todd Cary wrote: >>With MySQL, should I use Real(8,2) to store information envolving >>money/currency? > >That'll work. It'll avoid problems with roundoff error that can >occur with float/double. My answer here is incorrect. I was thinking that REAL is a synonym for DECIMAL, but that's not right. REAL is a synonym for DOUBLE, which will exhibit roundoff problems. Use DECIMAL, or NUMERIC, which is a synonym. > >> >>Todd >>--
| Thread | ||
|---|---|---|
| • mysql-max-4.0.3beta on win98. mysqld-max.exe just hangs! | indiaitmart | 15 Sep |
| • Data type for currency | Todd Cary | 15 Sep |
| • RE: Data type for currency | Dharmendra sawh | 15 Sep |
| • Re: Data type for currency | Joseph Bueno | 15 Sep |
| • Re: Data type for currency | Paul DuBois | 15 Sep |
| • Re: Data type for currency | Paul DuBois | 16 Sep |
| • Re: mysql-max-4.0.3beta on win98. mysqld-max.exe just hangs! | Heikki Tuuri | 15 Sep |
| • Re: mysql-max-4.0.3beta on win98. mysqld-max.exe just hangs! | Miguel Angel Solórzano | 16 Sep |
| • Re: mysql-max-4.0.3beta on win98. mysqld-max.exe just hangs! | indiaitmart | 16 Sep |
| • Re: mysql-max-4.0.3beta on win98. mysqld-max.exe just hangs! | Miguel Angel Solórzano | 16 Sep |
| • Re: mysql-max-4.0.3beta on win98. mysqld-max.exe just hangs! | Heikki Tuuri | 16 Sep |
| • Re: mysql-max-4.0.3beta on win98. mysqld-max.exe just hangs! | indiaitmart | 16 Sep |
| • Re: mysql-max-4.0.3beta on win98. mysqld-max.exe just hangs! | indiaitmart | 16 Sep |
| • Re: mysql-max-4.0.3beta on win98. mysqld-max.exe just hangs! | Heikki Tuuri | 16 Sep |
