A voir également:
- How to check if a number is integer or not
- What is my movie français - Télécharger - Divers TV & Vidéo
- How to change qwerty to azerty - Guide
- How to change dns - Guide
- Your device ran into a problem and needs to restart - Forum Windows 10
- Check signal cable que faire - Forum Ecran
5 réponses
Hi zakaria, Blux, hi everyone,
Blux... here you are testing whether a number is even! if your number is 3, the test won't be right as
int(3/2)=1 is not equal to 3/2=1,5 however 3 is an integer !
The true test is:
int(number)=number then number is an integer!
@12C4
Ipl
Blux... here you are testing whether a number is even! if your number is 3, the test won't be right as
int(3/2)=1 is not equal to 3/2=1,5 however 3 is an integer !
The true test is:
int(number)=number then number is an integer!
@12C4
Ipl
Hello !
if int(number/2)=number/2 then number is integer...
A+ Blux "Les cons, ça ose tout.
C'est même à ça qu'on les reconnait"
if int(number/2)=number/2 then number is integer...
A+ Blux "Les cons, ça ose tout.
C'est même à ça qu'on les reconnait"
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
sorry, I was tired...
A+ Blux "Les cons, ça ose tout.
C'est même à ça qu'on les reconnait"