title: Compare aspect ratios given width and height
body: <p>Given a list of screen sizes, how do I detect which ones are in 4:3 16:9 aspect ratio?
  I can use width / height to get it but for 16:9 sizes I sometimes get 1.778 and sometimes I get 1.777778 due to rounding errors.</p>