OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

office-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [office-comment] Error in FLOOR function specification


Dennis Hamilton scripsit:

> Let's simplify this as it applies to having integer results:

Your argument is impeccable where the significance is not present.
But where it is present, if the "away from zero" were correct,
then floor(53,5) would be 55, whereas in fact it is 50.  So
"away from zero" is incorrect, and it should be changed to
"toward zero", as Joel says.

Alternatively, it would also be correct to say "toward negative infinity"
in both cases, since the value being rounded, being an absolute value, is
in fact always positive.

-- 
John Cowan          http://www.ccil.org/~cowan        cowan@ccil.org
At times of peril or dubitation,
Perform swift circular ambulation,
With loud and high-pitched ululation.




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]