In addition to the arithmetic operators , integral - type to integral - type casts can cause overflow , for example , casting a 除算術(shù)運(yùn)算符以外,整型之間的強(qiáng)制轉(zhuǎn)換也會(huì)導(dǎo)致溢出(例如,將
In the last lesson , you learned how to use arithmetic operators to create numeric expressions and return numeric values 在上一課中,您學(xué)習(xí)了如何使用算術(shù)運(yùn)算符創(chuàng)建數(shù)值表達(dá)式并返回?cái)?shù)值。
Any combination of variables and / or constants with arithmetic operators that the computer can evaluate to produce a result 變量和/或常數(shù)借助算術(shù)運(yùn)算符的某種組合,計(jì)算機(jī)可對(duì)其求值并產(chǎn)生一個(gè)結(jié)果。
For example , it is not possible to call arithmetic operators in a c generic class , although it is possible to call user defined operators 例如,盡管在c #泛型類(lèi)中可以調(diào)用用戶定義的運(yùn)算符,但不能調(diào)用算術(shù)運(yùn)算符。
The result of an arithmetic operator is always nullable , even if the operands are nonnullable and ansi warnings or arithabort is set on 即使操作數(shù)不可為空并且ansi _ warnings或arithabort設(shè)置為on ,算術(shù)運(yùn)算符的結(jié)果也始終可為空。
Expressions are created using the two numbers that you enter and each of the four basic arithmetic operators addition , subtraction , multiplication , and division 使用您輸入的兩個(gè)數(shù)字和四種基本算術(shù)運(yùn)算符(加、減、乘和除)的每一種創(chuàng)建表達(dá)式。
Binary arithmetic operators behave like a function call that accepts two parameters of the same type , and then return that type ; however , the syntax is slightly different 二進(jìn)制算術(shù)運(yùn)算類(lèi)似調(diào)用同一個(gè)類(lèi)的兩個(gè)參數(shù),然后返回那個(gè)類(lèi),但是,語(yǔ)法有些不同
The result of applying an arithmetic operator to a pair of el expressions is the result of applying that operator to the numeric values returned by those expressions 對(duì)幾個(gè)el表達(dá)式應(yīng)用算術(shù)運(yùn)算符的結(jié)果是將該算術(shù)運(yùn)算符應(yīng)用于這些表達(dá)式返回的數(shù)值所得的結(jié)果。
Is used to bulk export data that uses the binary format from a sql server 2000 table with a computed column that uses a floating point arithmetic operator and 從包含計(jì)算列(該計(jì)算列使用浮點(diǎn)算術(shù)運(yùn)算符)的sql server 2000表中大容量導(dǎo)出二進(jìn)制格式的數(shù)據(jù),然后使用
The final four lines create expressions with the two variables and each of the basic arithmetic operators , and display the results of those expressions in a message box 最后四行用這兩個(gè)變量和每一種基本算術(shù)運(yùn)算符創(chuàng)建表達(dá)式,并將這些表達(dá)式的結(jié)果顯示在消息框中。