Now I want to take an example.
我们来举一个例子吧。
So let's, in order to fix ideas for this discussion, take an actual example.
为了进一步限定讨论的话题,我们举个真实的例子。
Well I need to take that number and I'm going to turn it into a string. So notice what I'm going to do right here. I take that number and convert it into a string. That's an example of that type conversion we did earlier on. By doing that it makes it possible for me to treat it as an ordered sequence of characters.
我可能得把这个数字变为字符串,请注意我这里是怎么做的,我把这个数字,转化为字符串了,这是我们之前学过的,类型转换的例子,这么一来我就能把它按照有序的。
So, for example, in an electrochemical cell, it would be possible to take the sodium ion, give back its electron, and convert it into a metallic sodium, take the chloride ion, remove its electron, and restore chlorine gas.
所以,例如一个电化学的电池,它可能带有钠离子,让它得到电子,把它变成金属钠,得到氯离子,让它失去电子,作为氯气储存。
应用推荐