Si un float! et un integer! sont combinés dans une expression, le résultat sera une valeur de type float!
If float! and integer! are combined in an expression, the result will be a float! value.
cela peut être un integer ou double. Les autres valeurs seront converties en valeur numérique avant le formatage.
Can be integer or double, other values will be converted to a numeric value.
Si cette conversion était marquée AS IMPLICIT - mais ce n'est pas le cas - alors l'analyseur devra choisir entre l'interprétation ci-dessus et son alternative (la conversion de la constante numeric en un integer) et appliquer l'opérateur integer + integer.
If that cast were marked AS IMPLICIT - which it is not - then the parser would be faced with choosing between the above interpretation and the alternative of casting the numeric constant to integer and applying the integer + integer operator.
Pourquoi ne pas utiliser un int ou un Integer ?
Why not use int or Integer?
Si un integer est passé, il sera converti en float.
If an integer is passed, it will be converted to float.
De l'autre côté, puisque c'est un integer non-signé, il n'autorise pas les valeurs négatives.
On the other hand, because it's an unsigned integer, it doesn't allow negative values.
prend un float ou un integer.
Sur les systèmes ayant un integer d'une taille de 64-bits, le float n'a souvent pas une mantisse assez large pour contenir la valeur sans perte de précision.
In systems where the integer type has 64-bit size, the float most likely does not have a mantissa large enough to hold the value without loss of precision.
Le code d'erreur est un integer qui peut être utilisé pour codifier/identifier l'erreur.
the error code is an integer which can be used to codify/identify the error.
byte - un integer non-signé qui peut contenir un nombre entre 0 et 255.
byte - an unsigned integer which can hold a number between 0 and 255.
Une couleur, un drawable, une dimen, un integer ou même... un autre style !
A color, a drawable, a dimen, an integer and even... another style!
Si vous avez besoin de contenir un nombre encore plus gros que le type long autorise, vous pouvez utiliser un "ulong" à la place - c'est un integer non-signé qui peut contenir une valeur jusqu'à 18,446,744,073,709,551,615.
If you need to hold a bigger number than the long type allows, you can use a ulong instead - it's an unsigned integer, which can hold a value up to 18,446,744,073,709,551,615.
Par exemple, une fonction, qui attend comme paramètre un integer (entier), à laquelle est passée une string (chaine de caractères) recevra une variable de type string.
For example, a function that is given an integer for a parameter that expects a string will get a variable of type string.