这两个代码块都会使用switch语句计算int值,从而得到输出到控制台的供人阅读的字符串值。
Both blocks of code evaluate an int value using a switch statement that results in a human-readable string value printed to the console.
因此,查询处理仅限于新模式文档实例,因为旧模式的所有实例计算where语句的结果都是false。
Hence, the query processing is limited to the document instances from the new schema, because all instances from previous schema evaluate the where statement as false.
但是第二个if语句计算为True,因为变量i能被125整除(并且not运算符将结果0转换成布尔值True)。
But now the second if statement evaluates True because the variable I is evenly divisible by 125 (and the not operator turns the resulting 0 into a Boolean True).
Computers generally have things called--computer languages generally have things called "statements".
计算机语言,有一种叫做,“语句“的东西。
It's a capability that just tells the computer what to do.
语句能告诉计算机做什么。
But notice the previous line, where I am computing volatility.
但是请注意前面这个语句,我用这个语句计算了浮动值。
应用推荐