mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Bugfix (regression): the value '-' was handled incorrectly when scanning for values looking like floating point stuff.
This commit is contained in:
@@ -1352,7 +1352,7 @@ begin
|
||||
|
||||
// Convert result to a floating point value to ensure
|
||||
// we don't discard decimal digits for the next step
|
||||
if StrNumber = '' then Result := 0
|
||||
if (StrNumber = '') or (StrNumber = '-') then Result := 0
|
||||
else Result := StrToFloat( StrNumber );
|
||||
|
||||
// Detect if the string was previously formatted by FormatByteNumber
|
||||
|
||||
Reference in New Issue
Block a user