So I was creating a script to determine the aspect ratio of screens based on resolution. Am I right in saying that 1366 pixels x 768 pixels is not in fact a true 16:9 ratio?
In this case I am stuck as to how to calculate the common ratio of computer displays.
I hope you can help and this is the correct place to ask - go easy on me, its my first time here! You can normally find me on stackoverflow :)
As $\frac{1366}{768} \approx 1.7786$, while $\frac{16}{9} = 1.777\dots$, your statement is correct. However, you can also see the discrepancy is rather small, and so $16:9$ gives a rather good impression of the ratio, which is why it is noted there in the first place. An exact $16 : 9$ ratio which would be close to yours could be $1360$ by $765$. (Again, it's pretty close to $1366$ by $786$.)