Write a Java program to accept a float value of number and return a rounded float value
belongs to collection: Math Exercises Programs in java With an Examples
All Answers
total answers (1)
belongs to collection: Math Exercises Programs in java With an Examples
total answers (1)
In this demo I have used NetBeans IDE 8.2 for debugging purpose. But you can use any java programming language compiler as per your availability..
Result:
Input any float number: 12.365
The rounded value of 12.365000is: 12.00
need an explanation for this answer? contact us directly to get an explanation for this answer