Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template talk:Resrow

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
Latest comment: 2 years ago by Crissov in topic SAR is calculated incorrectly

SAR is calculated incorrectly

[edit]

On the page List of common resolutions you can see 372x240 being listed as 17:11. This seems to be caused by some rounding error, it's supposed to be 31:20. At time of writing just default calculated by this template as X/Y, so it's not the page itself that has used an incorrect override. Philipborg (talk) 09:40, 5 March 2024 (UTC)Reply

That’s done by {{resratio}}. It doesn’t support 31:20 (yet), because it’s not a common aspect ratio – whereas 17:11 is “common” in American paper formats: — Christoph Päper 10:33, 5 March 2024 (UTC)Reply
Input“Pretty” outputFloat outputActual
372×240:31∶201.55 1.55 = 31:20 = 15½:10
240×372:15∶170.645220:31
360×240:3∶21.53:2 = 15:10
368×240:23∶151.533323:15 = 15:10
376×240:47∶301.566747:30 = 15:10
384×240:8∶51.68:5, 16:10
17×11:17∶111.5454
31×20:31∶201.55
1.54:17∶111.5454
1.545:17∶111.5454
1.55:1.551.55
1.555:14∶91.555
1.56:14∶91.555