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
In the Python math library, the math. floor and math.trunc. Do the same thing?. And what's the difference?
functions
math
python3
1 Vote
2 Answers
2nd Mar 2019, 1:22 PM
Denis Omar
When you divide two integers and there is a remainder, does C++ truncate or floor the answer if it is a decimal?
c++
operators
5 Votes
7 Answers
28th Dec 2016, 8:46 PM
Madison Sawyer
For some reason, the calculation results do not agree ?!
ceil
floor
python
round
ruby
6 Votes
10 Answers
21st Dec 2019, 4:18 PM
Michail Getmanskiy
Why the results are different? (floor division)
division
floor
python
1 Vote
2 Answers
22nd Mar 2017, 11:31 AM
Javier I. Rivera R.
Can someone help me in understanding modula and floor operations kindly!!!? I am unable to move further without ubderstand this
float
modules
numeric-operations
python3
1 Vote
2 Answers
25th Jun 2020, 5:27 AM
Ahmar gul Khan
C++ or C# ? For gaming and anyone know about unity that how to select the different themes e.g floor , background, buildings etc
c#
c++
unity
3 Votes
3 Answers
24th Jun 2018, 10:03 PM
Hafiz Hassan
What do they mean by "To determine the quotient and remainder of a division, use the floor division and modulo operators, ..."?
numeric-operations
1 Vote
2 Answers
14th Jan 2019, 3:57 PM
Mike
What is floor division? And what is the difference in the functioning of a / and a //...i didnt quiet understand it
numeric-operations
0 Votes
4 Answers
14th Apr 2018, 3:09 PM
Prachi Pandit
[SOLVED]Difference between Math.floor(),Math.ceil() and Math.round()
ceil
floor
javascript
math
round
4 Votes
3 Answers
29th Aug 2020, 7:38 AM
David Junior
Hello guys , I am a python student and i dont get something really good and it is modulo and floor division ...the signs👉%,//
floor_division
modulo
1 Vote
1 Answer
11th Aug 2020, 8:33 PM
arash
why there us not a single method for values to round up there are 2 methods floor and ceil
java
math
0 Votes
1 Answer
20th Oct 2016, 9:19 AM
Onkar Ashok Gumate
Modify the program that computes floor area to compute and output the number of 6-inch square tiles needed to tile the floor. Th
c++
0 Votes
2 Answers
2nd Nov 2021, 7:56 PM
Ban Da
If a ship produce an echo and move 4 meter. If the sound wave hit the floor at 250 meter. Than find the distance it need to cove
physics
0 Votes
5 Answers
26th Jul 2023, 3:39 PM
Barnap Bag
where did the 1.25 come from. i understand the floor division. the remainder should be 2. what does 1.25 have to do with anything?
numeric-operations
python
1 Vote
3 Answers
13th Sep 2016, 6:04 PM
Jesse Christianson
Int Operations with Decimal Results?
ceiling
decimal
floor
int
operators
1 Vote
2 Answers
17th Aug 2021, 9:03 PM
Arron
I am confused between floor(), ceil() and round() functions in C Programming. Could you please explain it down here? 🙏🥺
built-in
c
c++
ceil
doubt
floor
functions
math
round
7 Votes
9 Answers
21st Jan 2021, 6:55 AM
Mahima Rajvir Singh
How come when i add a rigidbody my character falls in unity and no i did not add a floor.I want textures to move like in pkmon.
a
base
c#
floor
map
move
no
or
texture
unity
up
1 Vote
10 Answers
20th May 2017, 5:05 AM
DoubleVermine
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
2
3
Next >
Hot today
How to create animation in Python?
2 Votes
How to stop pop up menu from qt table horizontal header
0 Votes
What next?
0 Votes
[Clearified] 0 === -0 and 0 == -0
3 Votes
please help me emotionally
1 Votes
Popsicle program
1 Votes
Why are not all the codes showing?
0 Votes
While loop problem maybe?
2 Votes
Pls where can i download mobile phone stock pictures for e-commerce site?
0 Votes
Which programming language is most important for learning hacking or cybersecurity?
0 Votes