|
from: John Yeung <gallium.arsenide@xxxxxxxxx>
subject: Re: Importing data from a spreadsheet to a PF
On Wed, Aug 17, 2022 at 2:07 PM Justin Taylor <jtaylor.0ab@xxxxxxxxx>
wrote:
Just remember that Excel defaults to HALF EVEN rounding.
Do you have a reference for that? I have never heard of or observed
that behavior in Excel.
Excel's ROUND function rounds half away from zero. (Or you could say
rounds absolute value half up.) This is also what it appears to do
when you use formatting to limit the number of decimal places.
Excel also has ROUNDUP and ROUNDDOWN, which behave more like ceiling
and floor (applies to any fractional part past the desired precision,
not just half).
Nowhere have I found a built-in way to round half-even in Excel. (You
have to compose it yourself using other functions.)
And don't just rely on docs or on someone telling you what happens.
Actually try it yourself in Excel. (Some references say that Excel's
ROUND rounds half toward positive infinity, which is not what I
observed.)
John Y.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.