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.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a452f638ccf3c60e

Jump to content

Template talk:Resrow

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
(Redirected from Template talk:Resrow/doc)
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∶20≈ 1.55 1.55 = 31:20 = 15½:10
240×372:15∶17≈ 0.645220:31
360×240:3∶2≈ 1.53:2 = 15:10
368×240:23∶15≈ 1.533323:15 = 15⅓:10
376×240:47∶30≈ 1.566747:30 = 15⅔:10
384×240:8∶5≈ 1.68:5, 16:10
17×11:17∶11≈ 1.5454
31×20:31∶20≈ 1.55
1.54:17∶11≈ 1.5454
1.545:17∶11≈ 1.5454
1.55:1.55≈ 1.55
1.555:14∶9≈ 1.555
1.56:14∶9≈ 1.555