New course!
Every coder should learn
Generative AI!
Try a free lesson
Courses
Courses
Code Compiler
Code Compiler
Discuss
Get Pro
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
>>> 1.25 % 0.5
numeric-operations
1 Vote
2 Answers
2nd May 2018, 8:11 PM
Олег
why 1.25 % 0.5 is 0.25
numeric-operations
python
1 Vote
13 Answers
25th Nov 2016, 9:26 AM
Farazdak anugrah
>>> 1.25 % 0.5
numeric-operations
0 Votes
1 Answer
4th Oct 2019, 4:52 AM
Madhav Kumar
How come 1.25 % 0.5 = 0.25
numeric-operations
python
1 Vote
9 Answers
9th Sep 2017, 8:00 AM
JEEVANANDHAM S
How 1.25 % 0.5 >>> 0.25 🙁🙁
modulo
pyton
0 Votes
3 Answers
3rd Jun 2019, 5:36 PM
Hossein Ghobadi
Where does the 1.25 and the 0.5 come from?
numeric-operations
python
0 Votes
3 Answers
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 Answers
21st Aug 2017, 1:16 AM
Carlos Camacho
1.25 % 0.5 = 0.25, shouldn't it be 0.5?
numeric-operations
python
0 Votes
2 Answers
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 Votes
4 Answers
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 Votes
5 Answers
9th Jul 2018, 4:26 PM
ved bhardwaj
20 // 6 =3 1.25 % 0.5 0.25. What does it mean
numeric-operations
0 Votes
4 Answers
21st Mar 2020, 5:04 AM
Rohtash Kanwar
How can I add opacity to background image
0.5
opacity
0 Votes
2 Answers
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 Answers
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 Answer
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 Answers
6th Dec 2017, 10:42 AM
Isaac Mbugua
error. x % y - это остаток от деления. 7 % (5 // 2) = 0.5
numeric-operations
python
0 Votes
3 Answers
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 Votes
3 Answers
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 Votes
5 Answers
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 Votes
3 Answers
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 Answer
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 Answers
4th Feb 2018, 2:31 PM
rohit
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
Help me learn how to use .value in Javascript please!
1 Votes
How to get Kotlin certificate here
2 Votes
String
0 Votes
Array of Object to Object using reduce()
0 Votes
I don't understand why g1, g2 & g3 values is not aligned with Group 1, Group 2 and Group 3 which is the expected output..
0 Votes
Fix code
0 Votes
The output is not matching the code.
0 Votes
How are you spost to do animashon
0 Votes
Help me please!!!
1 Votes
Can someone tell me what’s wrong?
1 Votes