Template talk:Resrow
Appearance
(Redirected from Template talk:Resrow/sandbox)
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)
- 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)
Input “Pretty” output Float output Actual 372×240: 31∶20 ≈ 1.55 1.55 = 31:20 = 15½:10 240×372: 15∶17 ≈ 0.6452 20:31 360×240: 3∶2 ≈ 1.5 3:2 = 15:10 368×240: 23∶15 ≈ 1.5333 23:15 = 15⅓:10 376×240: 47∶30 ≈ 1.5667 47:30 = 15⅔:10 384×240: 8∶5 ≈ 1.6 8: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