SQL

  • Thread starter Thread starter Mario
  • Start date Start date
M

Mario

How to round the numbers in SQL language

4.2 --> 4
4.7 --> 5
4.5 --> 5
 
Good question, Floor and Ceiling go up or down from O
always. The way to do this is to use the round function
as follows:

ROUND( 4.2 ,0)

Good luck.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top