GUI: Find dialog: Compare only to the decimal places of the print format.
authorJohn Darrington <john@darrington.wattle.id.au>
Sun, 14 Jun 2020 15:07:27 +0000 (17:07 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sun, 14 Jun 2020 15:09:15 +0000 (17:09 +0200)
When using the find dialog of the data editor, previously a numeric value
was compared exactly on it's underlying representation (a IEEE754 double
precision float).   This is problematic, because most such floats cannot
be precisely represented in a decimal format, and even if they can be, the
precision required might well exceed that displayed in the data editor.

This change rounds both the reference and the comparand to the number of
decimal places indicated by the variable's print format.


No differences found