DbU::getValueString() was truncating lambda value one decimal too short.

This commit is contained in:
Jean-Paul Chaput 2020-11-14 18:49:23 +01:00
parent bf0d1ef350
commit 3a3c4fe3c5
1 changed files with 1 additions and 1 deletions

View File

@ -337,7 +337,7 @@ namespace Hurricane {
string s = os.str();
if (_stringMode == Symbolic) {
size_t dot = s.rfind( '.' );
if (dot != string::npos) s.erase( dot + 1 );
if (dot != string::npos) s.erase( dot + 2 );
} else if (mode & SmartTruncate) {
size_t dot = s.rfind( '.' );
if (dot != string::npos) {