round [message #425416] |
Fri, 09 October 2009 01:53  |
varosh81
Messages: 178 Registered: February 2008 Location: CHENNAI
|
Senior Member |
|
|
I have some nos range from 151 to 159 then.
i want to know the function name and how to round the value into 160.
thanks and regards
varosh
|
|
|
|
Re: round [message #425422 is a reply to message #425419] |
Fri, 09 October 2009 02:05   |
varosh81
Messages: 178 Registered: February 2008 Location: CHENNAI
|
Senior Member |
|
|
the link cannot open in my system
if know the query, kindly send the query
thanks and regards
varosh
|
|
|
Re: round [message #425426 is a reply to message #425416] |
Fri, 09 October 2009 02:14   |
sen_sam86
Messages: 33 Registered: August 2009 Location: Chennai
|
Member |
|
|
SQL> SELECT ROUND(155, -1) FROM DUAL
2 /
ROUND(155,-1)
-------------
160
SQL> SELECT ROUND(154,-1) FROM DUAL
2 /
ROUND(154,-1)
-------------
150
|
|
|
Re: round [message #425429 is a reply to message #425426] |
Fri, 09 October 2009 02:19   |
varosh81
Messages: 178 Registered: February 2008 Location: CHENNAI
|
Senior Member |
|
|
hi sam
thanks for your reply.
152,153,154 also rounded into 160
thanks and regards
varosh
|
|
|
|
|
Re: round [message #425438 is a reply to message #425422] |
Fri, 09 October 2009 02:49  |
 |
Michel Cadot
Messages: 68761 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
varosh81 wrote on Fri, 09 October 2009 09:05the link cannot open in my system
if know the query, kindly send the query
thanks and regards
varosh
All documentation and especially SQL Reference can be found at http://tahiti.oracle.com.
Regards
Michel
|
|
|