Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Rounding to the nearst 5 multiple

Vijayaraghavan KrishnanFeb 26 2009 — edited Mar 19 2009
Hi to all,

I need to round a number to the nearst multiple of 5. How this is possible. I have tried with round and trunc funtion it is rounding to the 10th multiple..

If I have a number 12.59 it should round to 10, if I have a number 13 and above till 15 it should round to 15.

kindly help me in this regard.

Thanks
Vijay
This post has been answered by Avinash Tripathi on Feb 26 2009
Jump to Answer

Comments

Hans Forbrich
You may want to start by reviewing http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/create.htm#sthref483

Host is the physical computer, machine, operating system ... but not the database.

So in general, 'Host Login Credentials' means 'what is the computer username and password (not database user/pwd) of the user who is to login on the host (machine) in order to do the work?'

In this case, it's probably the userid that owns Oracle .... surely you did not install the database as 'Administrator'.
damorgan
There is a demo here:
http://www.morganslibrary.org/reference/wallet.html
that shows all of the moving pieces.

The page is part of the library located at:
http://www.morganslibrary.org/library.html
699363
Actually, this post provided the solution to my problem: 3755696

Thanks for the replies to my original post.
Hans Forbrich
Excellent. And thanks for posting the pointer to solution.
1 - 4
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Mar 26 2009
Added on Feb 26 2009
8 comments
13,045 views