How is rounding performed under integer division?
Answers were Sorted based on User's Feedback
Answer / divya
the fractional part of the result is truncated .this is
known as rounding toward zero.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / satya
We can use java.lang.Math.ceil() and java.lang.Math.floor()
methodes in order for rounding numbers.
| Is This Answer Correct ? | 1 Yes | 1 No |
What is a parameter example?
How to display all the prime numbers between 1 and n (n is the number, get the input from user)
what are the design patterns in struts?
What are the rules for variable declaration?
In the below example, what will be the output?
What occurs when an object is constructed?
What is the use of bin and lib in JDK?
how to deploy apache tomcat server to weblogic server in java
What is boolean keyword in java?
what is the use of StringBuffer?
what is the reason behind non static method cannot be referenced from a static Context?
Difference between prefix and postfix forms of the ++operator?