Is it possible to set a floating point precision while evaluating jldoctest blocks in docstrings?

I’m not too familiar with Documenter, so this might have a solution that I’m not aware of. Is it possible to set a filter to compare only the first n digits of floating-point numbers in a jldoctest block? Either of a global or a local setting would be fine.

It’s not quite perfect for this, but you can set regexes which filter out parts of the output before it’s compared: Doctests · Documenter.jl.