diff -r 3840859e4bb8 -r 09a125a571ff core/sm_stringutil.cpp --- a/core/sm_stringutil.cpp Wed Jan 07 16:43:23 2009 -0500 +++ b/core/sm_stringutil.cpp Wed Jan 07 19:23:24 2009 -0500 @@ -281,7 +281,7 @@ } // write the fraction part - if (maxlen) + if (maxlen && prec) { *buf++ = '.'; maxlen--;