MySQL Forums
Forum List  »  Newbie

Re: Force round up nearest 10?
Posted by: Bill Karwin
Date: April 19, 2006 08:56PM

SELECT ROUND((n-1)/10+.5)*10
...

Regards,
Bill K.

Options: ReplyQuote


Subject
Written By
Posted
April 19, 2006 06:28PM
Re: Force round up nearest 10?
April 19, 2006 08:56PM
April 19, 2006 10:32PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.