Cerca tra vari insegnanti di Inglese...
Japan flagRika Onaka
0's or 0s? I read a sentence: "The messages are written as a string of 0's and 1's." Why is there an apostrophe? Is something omitted? I thought the plural form of 0 is 0s.

Risposte · 5

1
Hey Hey Yu, As I know in computer programming strings are written 0s and 1s. :) That was a sentence from a computer programming article?
1
This is a stylistic choice. Nothing is omitted, it is to avoid the risk of being misread. 'S' is the SI unit for seconds. 1s could mean 1 second, for example. If someone is reading it quickly they could also see it as 'Is.' 1s is also an electron orbital in chemistry. '0s' could be misread as 'Os.' It's not incorrect to write it without an apostrophe though. If you read a few style guides you can come to your own conclusions as to what way you prefer.

Non hai ancora trovato le tue risposte?

Scrivi le tue domande e lascia che i madrelingua ti aiutino!

Non perdere l'opportunità di imparare una lingua comodamente da casa tua. Esplora la nostra selezione di insegnanti di lingue esperti e iscriviti subito alla tua prima lezione!

Inizia a imparare oggi