πŸ“Š PHP
Q. Which function is used to round a number to the nearest integer in PHP?
  • (A) round()
  • (B) ceil()
  • (C) floor()
  • (D) nearest()
πŸ’¬ Discuss
βœ… Correct Answer: (A) round()

Explanation: round() rounds a float to the nearest integer.

Explanation by: Mr. Dubey
round() rounds a float to the nearest integer.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
33
Total Visits
πŸ“½οΈ
6 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
96%
Success Rate