Cours
Cours
Compilateur de code
Compilateur de code
Discuter
Tarification
Équipes
Se connecter
S'inscrire
Menu
Discussions Q&R
Chercher
Chercher
Poser une question
Poser une question
>>> 1.25 % 0.5
numeric-operations
1 Vote
2 Réponses
2nd May 2018, 8:11 PM
Олег
why 1.25 % 0.5 is 0.25
numeric-operations
python
1 Vote
13 Réponses
25th Nov 2016, 9:26 AM
Farazdak anugrah
>>> 1.25 % 0.5
numeric-operations
0 Vote
1 Réponse
4th Oct 2019, 4:52 AM
Madhav Kumar
How come 1.25 % 0.5 = 0.25
numeric-operations
python
1 Vote
9 Réponses
9th Sep 2017, 8:00 AM
JEEVANANDHAM S
How 1.25 % 0.5 >>> 0.25 🙁🙁
modulo
pyton
0 Vote
3 Réponses
3rd Jun 2019, 5:36 PM
Hossein Ghobadi
Where does the 1.25 and the 0.5 come from?
numeric-operations
python
0 Vote
3 Réponses
18th Nov 2018, 6:14 PM
Esteban Rueda
The remainder when 1.25 is divided by 0.5 is 0.25.
numeric-operations
python
3 Votes
6 Réponses
21st Aug 2017, 1:16 AM
Carlos Camacho
1.25 % 0.5 = 0.25, shouldn't it be 0.5?
numeric-operations
python
0 Vote
2 Réponses
19th Apr 2017, 7:13 AM
Lexi Bjerkeli
So i wanted to make sin 30. The answere should be 0.5 but what it show up not 0.5 how to fix this?
python
0 Vote
4 Réponses
13th Apr 2022, 4:10 AM
Arthur P
Why 3/6 is 0 and 3/6.0 is 0.5 which is a float?
data-types
float
python
0 Vote
5 Réponses
9th Jul 2018, 4:26 PM
ved bhardwaj
20 // 6 =3 1.25 % 0.5 0.25. What does it mean
numeric-operations
0 Vote
4 Réponses
21st Mar 2020, 5:04 AM
Rohtash Kanwar
How can I add opacity to background image
0.5
opacity
0 Vote
2 Réponses
29th Jan 2019, 12:13 AM
NWAMADI HENRY
PROPABILITY. Can anyone explain? propability only 0.7 ? only for one day is 0.5
complexity
-1 Vote
4 Réponses
19th Apr 2018, 9:50 AM
kronos
please explain how this equation is calculated in python >>> 1.25 % 0.5 0.25
numeric-operations
python
1 Vote
1 Réponse
6th Mar 2019, 10:11 AM
Chaitanya Damaraju
I dont get it, how is the remainder of 1.25 % 0.5 being 0.25 instead of 0.5?
numeric-operations
python
1 Vote
5 Réponses
6th Dec 2017, 10:42 AM
Isaac Mbugua
error. x % y - это остаток от деления. 7 % (5 // 2) = 0.5
numeric-operations
python
0 Vote
3 Réponses
22nd Aug 2016, 4:37 PM
Дмитрий
What should we do if we want to increase the numbers in this code by 0.5 to 0.5?
lists
python
range
0 Vote
3 Réponses
13th Sep 2021, 5:27 AM
Hamid
7%(5//2). If i understand correctly, 5//2 equals 2. If u devisen 7/2 the remainder should be 0.5 right? Wrong.. What am I missing?
numeric-operations
python
0 Vote
5 Réponses
31st Oct 2016, 9:38 AM
Petter Cedell
Input a value for variable n, repeatedly print the value of n, decreasing it by 0.5 each time, as long as n remains positive
c++
0 Vote
3 Réponses
11th Oct 2017, 8:27 AM
R Retubado
Is it fine to use AJAX to reload a page content in PHP every 0.5 second? Won't it impose any drawback on the performance?
ajax
php
1 Vote
1 Réponse
24th Oct 2019, 2:10 AM
Abhishek Kumar Singh
In java int /int is always an int how can i get a double value when input2 int value example if i enter 1/2 i will get 0.5
java
1 Vote
2 Réponses
4th Feb 2018, 2:31 PM
rohit
Poser une question
Poser une question
Poser une question
Poser une question
Aujourd'hui en vedette
Steps in thread step by step with dependent result
1 Votes
Why does it disappear?
0 Votes
What's wrong with my code?
1 Votes
OOP python questions
0 Votes
Image link
0 Votes
How to create games and it to Play store
0 Votes
Web page
0 Votes
Python loops
0 Votes