[Validator] The ratio of the ImageValidator is rounded to two decimals now
bug #11928 [Validator] The ratio of the ImageValidator is rounded to two decimals now (webmozart)

This PR was merged into the 2.4 branch.

Discussion
----------

[Validator] The ratio of the ImageValidator is rounded to two decimals now

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Before, using a max ratio of 1.33 for 4-by-3 images did not work, since the actual ratio is 1.3333... The actual ratio is now rounded to two decimals before comparing.

Commits
-------

709db6f [Validator] The ratio of the ImageValidator is rounded to two decimals now