Math. floor(7.99) write the output
Answers
Answer:
what? I am not able to understand your question
By rounding down, it produces the biggest whole number that is smaller than the number that is by ignoring the fractional part. It only accepts the integer portion of positive real numbers and truncates the fractional portion. It takes the integer number less than the fractional component for all negative real values.
Explanation
The greatest integer number that is less than or equal to the parameter and equal to the mathematical integer of a double value is found using the java.lang.Math.floor() method.
This method will return the Floor value whether the parameter is a positive or negative double value.
This method will return the same argument if the argument is NaN.
This method will return Infinity with the same sign as the argument if the argument is Infinity.
Math.floor(7.99)
which is equals 7.00.
#SPJ2