Find/Change preset loses numeric precision and behaves differently from manual Find
When using numeric paragraph attributes in Find/Change (for example, Left Indent in millimeters), manual Find works correctly, but the same query saved as a Find/Change preset fails to match identical paragraphs.
This is not a unit conversion issue (mm to pt).
The problem is caused by floating point precision loss when the preset is saved, followed by strict numeric comparison when the preset is executed.
Steps to reproduce:
Create a new document.
Set document measurement units to millimeters.
Create a paragraph with Left Indent set to 5 mm.
Open Find/Change.
Search for paragraphs with Left Indent equal to 5 mm. The paragraph is found correctly.
Save this Find/Change query as a preset.
Run the saved preset.
Expected result:
The saved Find/Change preset should behave identically to the manual Find using the same numeric value.
Actual result:
The saved preset does not find the paragraph with Left Indent equal to 5 mm.
Technical notes:
Manual Find appears to use high precision internal numeric values with tolerance.
When a Find/Change query is saved, numeric values are serialized with reduced floating point precision, truncated rather than rounded. Unit context and numeric tolerance are not preserved.
When the preset is executed, a strict floating point comparison is performed against a numerically different value.
For example, 5 mm corresponds to approximately 14.1732283464567 pt internally, while the saved preset stores a truncated value around 14.17323 pt. As a result, the values are no longer equal and the match fails.
This issue reproduces consistently and affects any numeric paragraph attribute that involves unit conversion. It breaks the expectation that saved Find/Change presets are equivalent to manual Find operations.
