Выбрать из множества учителей по предмету английский...
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.

Ответы · 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.

Все еще не нашли ответы?

Напишите свои вопросы, и пусть вам помогут носители языка!

Не упустите возможность выучить язык, не выходя из дома. Ознакомьтесь с подборкой опытных преподавателей и запишитесь на свой первый урок прямо сейчас!

Начните учиться сегодня