W3C home > Mailing lists > Public > www-style@w3.org > November 2002

Re: inch to cm

From: Liorean <Liorean@user.bip.net>
Date: Sat, 16 Nov 2002 21:11:49 +0100
Message-Id: <5.1.0.14.0.20021116210309.0366db40@pop3.bip.net>
To: Lachlan Cannon <luminosity@members.evolt.org>, www-style@w3.org

At 14:38 2002-11-16 +1100, Lachlan Cannon wrote:
>Liorean wrote:
>>"30 cm", in reality, corresponds to the interval 29.5<=x<30.5, ...
>or 29.5<x<30.5.. otherwise values could end up in two different intervals.

Nope. The way rounding works, 29.5 should be rounded to 30. That means the 
lower interval must be inclusive. And, since the interval of 29 mustn't 
include 29.5 since 29.5 rounds to 30, not 29, the upper interval must be 
exclusive. In other words, the way rounding works, 29.5<=x<30.5 is the only 
interval that doesn't either exclude the number 29.5 or includes it in 
other rounding intervals.

Note that the way rounding works is defined by consensus and nothing else, 
though. Nothing says, in reality, that a half is to round up instead of down.

// Liorean
Received on Saturday, 16 November 2002 15:11:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:17 GMT