DbU::getValueString() was truncating lambda value one decimal too short.
This commit is contained in:
parent
bf0d1ef350
commit
3a3c4fe3c5
|
@ -337,7 +337,7 @@ namespace Hurricane {
|
||||||
string s = os.str();
|
string s = os.str();
|
||||||
if (_stringMode == Symbolic) {
|
if (_stringMode == Symbolic) {
|
||||||
size_t dot = s.rfind( '.' );
|
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) {
|
} else if (mode & SmartTruncate) {
|
||||||
size_t dot = s.rfind( '.' );
|
size_t dot = s.rfind( '.' );
|
||||||
if (dot != string::npos) {
|
if (dot != string::npos) {
|
||||||
|
|
Loading…
Reference in New Issue