Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Rounding
Date: Tue, 7 Apr 2009 23:44:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 7
Message-ID: <grgog1$hot$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1239147841 18205 172.30.248.38 (7 Apr 2009 23:44:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 7 Apr 2009 23:44:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1793146
Xref: news.mathworks.com comp.soft-sys.matlab:531206

Hey,

Can anyone help to round a decimal to the nearest even integer.

e.g. 69.1 would be rounded to 70 and 2.9 would be rounded to 2...

Thanks