Rika 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.
2018年1月20日 09:19
解答 · 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?
2018年1月20日
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.
2018年1月20日
還沒找到你要的答案嗎?
寫下你的問題,讓母語者來幫助你!