EN The division operator ("/") returns a float value unless the two operands are integers (or strings that get converted to integers) and the numbers are evenly divisible, in which case an integer value will be returned. For integer division, see
EN The division operator ("/") returns a float value unless the two operands are integers (or strings that get converted to integers) and the numbers are evenly divisible, in which case an integer value will be returned. For integer division, see
TR Bölme işlecinin tamsayı bölüm vermesi için iki teriminin de tamsayı (veya dönüşüm sonucu tamsayı olan dizge) olması ve birbirlerine tam olarak bölünmesi gerekir, aksi takdirde bölüm gerçek sayı olacaktır. Tamsayı bölme için
Englanti | Turkki |
---|---|
and | ve |
or | veya |
a | olan |
that | tam |
will | olacaktır |
EN In all other cases, both operands will be converted to integers and the result will be an integer.
TR Tüm diğer durumlarda, her iki terim tamsayıya dönüştürülür ve sonuç tamsayı olur.
Englanti | Turkki |
---|---|
cases | durumlarda |
result | sonuç |
other | diğer |
and | ve |
all | tüm |
the | iki |
will | olur |
EN If the operand for the ~ operator is a string, the operation will be performed on the ASCII values of the characters that make up the string and the result will be a string, otherwise the operand and the result will be treated as integers.
TR ~ işleci için terim bir dize ise, terimdeki karakterlerin ASCII değerleri üzerinde işlem yapılır ve sonuç bir dize olur. Aksi takdirde, terim ve sonuç tamsayı olarak ele alınır.
Englanti | Turkki |
---|---|
otherwise | aksi takdirde |
result | sonuç |
and | ve |
if | takdirde |
for | için |
of | in |
the | ise |
on | üzerinde |
EN Both operands and the result for the << and >> operators are always treated as integers.
TR << ve >> işleçleri için her iki terim ve sonuç daima tamsayı olarak ele alınır.
Englanti | Turkki |
---|---|
always | daima |
result | sonuç |
and | ve |
for | için |
EN Example #1 Bitwise AND, OR and XOR operations on integers
TR Örnek 1 - Tamsayılar üzerinde bitsel işlemler
Englanti | Turkki |
---|---|
on | üzerinde |
Näytetään 5 / 5 käännöstä