Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What will be the output of Round(3.7) and Ceil(3.7) in Java?
Home
JAVA
What will be the output of Round(3.7) and Ceil(3.7) in Java?
+2
votes
asked
May 31, 2020
in
JAVA
by
SakshiSharma
What will be the output of Round(3.7) and Ceil(3.7) in Java?
#java-round
#java-ceil
3
7
Java-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
May 31, 2020
by
Robindeniel
Round(3.7) returns 4 and Ceil(3.7) returns 4.
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Related questions
0
votes
Q: What Is Sap R/3?
asked
Mar 28, 2020
in
SAP
by
amita rallin
#sap-r
3
0
votes
Q: Can you change the private IP address of an EC2 instance while it is in running or in a stopped state?
asked
Dec 5, 2020
in
Amazon Elastic Compute Cloud EC2
by
SakshiSharma
3
0
votes
Q: The supported architecture for round, ceil and floor in Swift is/are
asked
Nov 6, 2022
in
Swift
by
rajeshsharma
swift
architecture
0
votes
Q: Tell me 3 features introduced on JDK 1.7?
asked
Jan 27, 2020
in
JAVA
by
rahuljain1
#jdk-features
Java-questions-answers
0
votes
Q: How to round up to 2 decimal places in java?
asked
Nov 15, 2020
in
JAVA
by
rajeshsharma
#java-error
#java-decimal-place
Java-questions-answers
0
votes
Q: How to round off numbers in java in 2 mins
asked
Oct 10, 2020
in
JAVA
by
Robindeniel
#round-off-numbers
#java-round-off-number
Java-questions-answers
0
votes
Q: Evaluate the following Java expression, if x=3, y=5, and z=10:
asked
Apr 8, 2021
in
JAVA
by
SakshiSharma
java
java-questions-and-answers
java-mcq
core-java-mcq
java-multiple-choice-questions
java-questions-2021
java-interview-questions
java-advanced-questions
Java-questions-answers
0
votes
Q: Top 3 difference between checked and unchecked exception in Java
asked
Oct 17, 2020
in
JAVA
by
rahuljain1
#unchecked-exception
#checked-exception
Java-questions-answers
0
votes
Q: Is the following program written correctly? If yes then what will be the output of the program?
asked
Apr 30, 2021
in
JAVA
by
rajeshsharma
#output
java-progam
Java-questions-answers
0
votes
Q: What will be the output of the following program?
asked
Apr 9, 2021
in
JAVA
by
Robindeniel
java
java-questions-and-answers
java-mcq
core-java-mcq
java-multiple-choice-questions
java-questions-2021
java-interview-questions
java-advanced-questions
Java-questions-answers
...