List:General Discussion« Previous MessageNext Message »
From:Bill Todd Date:September 8 2003 12:02am
Subject:DECIMAL math?
View as plain text  
Since DECIMAL fields are stored as strings how are calculations performed?
Does MySQL use string math routines or does it convert the string to a
double and use the double for the calculation?

The real question is, can floating point imprecision errors occur when using
the DECIMAL type?

Bill

Thread
DECIMAL math?Bill Todd8 Sep
Re: DECIMAL math?Heikki Tuuri8 Sep